summaryrefslogtreecommitdiffstats
path: root/lib/private/Console/TimestampFormatter.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Console/TimestampFormatter.php')
-rw-r--r--lib/private/Console/TimestampFormatter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Console/TimestampFormatter.php b/lib/private/Console/TimestampFormatter.php
index 5b292439a4c..d68db95f645 100644
--- a/lib/private/Console/TimestampFormatter.php
+++ b/lib/private/Console/TimestampFormatter.php
@@ -101,7 +101,7 @@ class TimestampFormatter implements OutputFormatterInterface {
$timeZone = $timeZone !== null ? new \DateTimeZone($timeZone) : null;
$time = new \DateTime('now', $timeZone);
- $timestampInfo = $time->format($this->config->getSystemValue('logdateformat', 'c'));
+ $timestampInfo = $time->format($this->config->getSystemValue('logdateformat', \DateTime::ISO8601));
return $timestampInfo . ' ' . $this->formatter->format($message);
}