Browse Source

Format the datetime for last run in ATOM format

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
tags/v25.0.0beta1
Côme Chilliet 2 years ago
parent
commit
3920fc1ef2
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      core/Command/Background/ListCommand.php

+ 1
- 1
core/Command/Background/ListCommand.php View File

@@ -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

Loading…
Cancel
Save