]> git.mxchange.org Git - friendica.git/commitdiff
Logger date format is now ISO8601 compatible
authorMichael <heluecht@pirati.ca>
Wed, 6 Sep 2017 21:13:06 +0000 (21:13 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 6 Sep 2017 21:13:06 +0000 (21:13 +0000)
include/text.php

index 9b7b47a773247416a2c8917367d055641faba4c1..c2c6dcdfc992d15f61d94c426559652024475d3b 100644 (file)
@@ -748,7 +748,7 @@ function logger($msg, $level = 0) {
 
        $callers = debug_backtrace();
        $logline = sprintf("%s@%s\t[%s]:%s:%s:%s\t%s\n",
-                       datetime_convert(),
+                       datetime_convert('UTC', 'UTC', 'now', 'Y-m-d\TH:i:s\Z'),
                        $process_id,
                        $LOGGER_LEVELS[$level],
                        basename($callers[0]['file']),