summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-10-09 10:40:20 +0200
committerBjoern Schiessle <schiessle@owncloud.com>2013-10-09 10:40:20 +0200
commitc1e5725db99e046792ce68edfea406259a8a2877 (patch)
tree7d3e389dc344f875813a2530b7539b1d85688488 /lib
parent3cf4c46c43e7ee7221eb26173bd530c3dd97d0b4 (diff)
downloadnextcloud-server-c1e5725db99e046792ce68edfea406259a8a2877.tar.gz
nextcloud-server-c1e5725db99e046792ce68edfea406259a8a2877.zip
changed default time format to ISO8601
Diffstat (limited to 'lib')
-rw-r--r--lib/private/log/owncloud.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/log/owncloud.php b/lib/private/log/owncloud.php
index 5123ba7f175..f3b43584409 100644
--- a/lib/private/log/owncloud.php
+++ b/lib/private/log/owncloud.php
@@ -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);