diff options
author | Morris Jobke <hey@morrisjobke.de> | 2017-01-19 20:08:15 -0600 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2017-01-19 20:08:15 -0600 |
commit | 231608325691be8e9e9f046897c12982da3c4eb3 (patch) | |
tree | 110232b286ea05b4adce9041c6bb9d0cb2cfa263 /lib/private/Console | |
parent | 48a3f2a8a2d6217c9938c3719fb752633de7c082 (diff) | |
download | nextcloud-server-231608325691be8e9e9f046897c12982da3c4eb3.tar.gz nextcloud-server-231608325691be8e9e9f046897c12982da3c4eb3.zip |
fix default value for logdateformat - fixes #3107
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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 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); } |