From 3920fc1ef267c4189f29481c58c9d7866e53f7a4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=B4me=20Chilliet?= Date: Mon, 27 Jun 2022 15:28:01 +0200 Subject: [PATCH] Format the datetime for last run in ATOM format MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- core/Command/Background/ListCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Command/Background/ListCommand.php b/core/Command/Background/ListCommand.php index d29ac38a7bf..bdd45f3a25f 100644 --- a/core/Command/Background/ListCommand.php +++ b/core/Command/Background/ListCommand.php @@ -77,7 +77,7 @@ class ListCommand extends Base { fn ($job) => [ 'id' => $job->getId(), 'class' => get_class($job), - 'last_run' => $job->getLastRun(), + 'last_run' => date(DATE_ATOM, $job->getLastRun()), 'argument' => json_encode($job->getArgument()), ], $jobs -- 2.39.5