diff options
author | Côme Chilliet <come.chilliet@nextcloud.com> | 2022-06-27 15:28:01 +0200 |
---|---|---|
committer | Côme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com> | 2022-07-11 09:46:23 +0000 |
commit | 3920fc1ef267c4189f29481c58c9d7866e53f7a4 (patch) | |
tree | bfc61c8a548f484fc0c6f62a0e23d03c177464ff /core/Command | |
parent | 0cc39d185c27505bd6c1f8809bbbea3f3f6b19a2 (diff) | |
download | nextcloud-server-3920fc1ef267c4189f29481c58c9d7866e53f7a4.tar.gz nextcloud-server-3920fc1ef267c4189f29481c58c9d7866e53f7a4.zip |
Format the datetime for last run in ATOM format
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Diffstat (limited to 'core/Command')
-rw-r--r-- | core/Command/Background/ListCommand.php | 2 |
1 files changed, 1 insertions, 1 deletions
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 |