diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-06-23 15:28:07 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-06-23 15:28:07 +0200 |
commit | 770881d5d66de36bb04fab8a2b9fdcae658150fa (patch) | |
tree | 24e9c54bb70d43603c9b3d492f755d9a593c3abf /lib/private/Console | |
parent | 35fe1dfebe976a7efdbaaa6344d08302b848b8a7 (diff) | |
download | nextcloud-server-770881d5d66de36bb04fab8a2b9fdcae658150fa.tar.gz nextcloud-server-770881d5d66de36bb04fab8a2b9fdcae658150fa.zip |
Move DateTime::ATOM to DateTimeInterface::ATOM
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Console')
-rw-r--r-- | lib/private/Console/TimestampFormatter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Console/TimestampFormatter.php b/lib/private/Console/TimestampFormatter.php index fcaa6ebfbf1..59e480b39e8 100644 --- a/lib/private/Console/TimestampFormatter.php +++ b/lib/private/Console/TimestampFormatter.php @@ -103,7 +103,7 @@ class TimestampFormatter implements OutputFormatterInterface { $timeZone = $timeZone !== null ? new \DateTimeZone($timeZone) : null; $time = new \DateTime('now', $timeZone); - $timestampInfo = $time->format($this->config->getSystemValue('logdateformat', \DateTime::ATOM)); + $timestampInfo = $time->format($this->config->getSystemValue('logdateformat', \DateTimeInterface::ATOM)); return $timestampInfo . ' ' . $this->formatter->format($message); } |