changed default time format to ISO8601

This commit is contained in:
Bjoern Schiessle 2013-10-09 10:40:20 +02:00
parent 3cf4c46c43
commit c1e5725db9
1 changed files with 1 additions and 1 deletions

View 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);