Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCôme Chilliet <come.chilliet@nextcloud.com>2022-06-27 16:28:01 +0300
committerCôme Chilliet (Rebase PR Action) <come-nc@users.noreply.github.com>2022-07-11 12:46:23 +0300
commit3920fc1ef267c4189f29481c58c9d7866e53f7a4 (patch)
treebfc61c8a548f484fc0c6f62a0e23d03c177464ff /core/Command
parent0cc39d185c27505bd6c1f8809bbbea3f3f6b19a2 (diff)
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.php2
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