From: Michael Date: Wed, 6 Sep 2017 21:13:06 +0000 (+0000) Subject: Logger date format is now ISO8601 compatible X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=66968efb9a71193ad2ace99387ac059d882775ec;p=friendica.git Logger date format is now ISO8601 compatible --- diff --git a/include/text.php b/include/text.php index 9b7b47a773..c2c6dcdfc9 100644 --- a/include/text.php +++ b/include/text.php @@ -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']),