Compare commits

1 Commits
Author SHA1 Message Date
mcndave 86bbe2c31a - WIP on Forecast 2026-10-19 19:22:14 +00:00
+3 -1
View File
@@ -49,7 +49,9 @@ class ApiHandler implements ApiHandlerInterface
if (! empty($json['forecast']) ) {
foreach($json['forecast'] as &$forecast) {
$forecast['date'] = $this->adjustTimezone($forecast['date']);
if ($forecast['date'] ?? false) {
$forecast['date'] = $this->adjustTimezone($forecast['date']);
}
}
if ($attribute instanceof Collection) {