summaryrefslogtreecommitdiffstats
path: root/lib/private/Log/LogDetails.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-06-23 15:28:07 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-06-23 15:28:07 +0200
commit770881d5d66de36bb04fab8a2b9fdcae658150fa (patch)
tree24e9c54bb70d43603c9b3d492f755d9a593c3abf /lib/private/Log/LogDetails.php
parent35fe1dfebe976a7efdbaaa6344d08302b848b8a7 (diff)
downloadnextcloud-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/Log/LogDetails.php')
-rw-r--r--lib/private/Log/LogDetails.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Log/LogDetails.php b/lib/private/Log/LogDetails.php
index 5ca8231eecb..87ce0396594 100644
--- a/lib/private/Log/LogDetails.php
+++ b/lib/private/Log/LogDetails.php
@@ -37,7 +37,7 @@ abstract class LogDetails {
public function logDetails(string $app, $message, int $level): array {
// default to ISO8601
- $format = $this->config->getValue('logdateformat', \DateTime::ATOM);
+ $format = $this->config->getValue('logdateformat', \DateTimeInterface::ATOM);
$logTimeZone = $this->config->getValue('logtimezone', 'UTC');
try {
$timezone = new \DateTimeZone($logTimeZone);