diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-12 17:30:32 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-12 17:30:32 +0100 |
commit | aff4aed43ccea159dae796e89e2684f967af7fa2 (patch) | |
tree | 6d7d7416c0e4a9cfbcf20f528f2d3b615dd4a30c /lib | |
parent | 6dea6c9dd9b6d2aa78e068d1e4be0b35e1584031 (diff) | |
parent | d0464bf7724480d18d1f0b881acf83849d83b72d (diff) | |
download | nextcloud-server-aff4aed43ccea159dae796e89e2684f967af7fa2.tar.gz nextcloud-server-aff4aed43ccea159dae796e89e2684f967af7fa2.zip |
Merge pull request #20472 from owncloud/switch-ch-log_with_ms_precision
enable microseconds in log timestamps
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/log/owncloud.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/log/owncloud.php b/lib/private/log/owncloud.php index c98f21208bb..1af989588d1 100644 --- a/lib/private/log/owncloud.php +++ b/lib/private/log/owncloud.php @@ -72,7 +72,7 @@ class OC_Log_Owncloud { } catch (Exception $e) { $timezone = new DateTimeZone('UTC'); } - $time = new DateTime(null, $timezone); + $time = DateTime::createFromFormat("U.u", microtime(true), $timezone); $request = \OC::$server->getRequest(); $reqId = $request->getId(); $remoteAddr = $request->getRemoteAddress(); |