diff --git a/src/Module/Stats.php b/src/Module/Stats.php index 9e77fc65e9..b297b2a284 100644 --- a/src/Module/Stats.php +++ b/src/Module/Stats.php @@ -83,7 +83,7 @@ class Stats extends BaseModule $statistics = [ 'cron' => [ 'lastExecution' => [ - 'datetime' => DateTimeFormat::utc($this->keyValue->get('last_cron'), DateTimeFormat::JSON), + 'datetime' => date(DateTimeFormat::JSON, (int)$this->keyValue->get('last_cron')), 'timestamp' => (int)$this->keyValue->get('last_cron'), ], ],