From 770881d5d66de36bb04fab8a2b9fdcae658150fa Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 23 Jun 2021 15:28:07 +0200 Subject: Move DateTime::ATOM to DateTimeInterface::ATOM Signed-off-by: Christoph Wurst --- lib/private/Console/TimestampFormatter.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Console') 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); } -- cgit v1.2.3