]> source.dussan.org Git - nextcloud-server.git/commitdiff
changed default time format to ISO8601
authorBjoern Schiessle <schiessle@owncloud.com>
Wed, 9 Oct 2013 08:40:20 +0000 (10:40 +0200)
committerBjoern Schiessle <schiessle@owncloud.com>
Wed, 9 Oct 2013 08:40:20 +0000 (10:40 +0200)
lib/private/log/owncloud.php

index 5123ba7f17501bf981f635d8a1a021189892b944..f3b4358440991b6cbdb8151a0a27c91b7336e12a 100644 (file)
@@ -50,7 +50,7 @@ class OC_Log_Owncloud {
                $minLevel=min(OC_Config::getValue( "loglevel", OC_Log::WARN ), OC_Log::ERROR);
                if($level>=$minLevel) {
                        // default to ISO8601
-                       $format = OC_Config::getValue('logdateformat', 'Y-m-d H:i:s');
+                       $format = OC_Config::getValue('logdateformat', 'c');
                        $logtimezone=OC_Config::getValue( "logtimezone", 'UTC' );
                        try {
                                $timezone = new DateTimeZone($logtimezone);