summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorChristian Schnidrig <christian.schnidrig@switch.ch>2015-09-10 23:02:28 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-11-12 10:33:20 +0100
commitd0464bf7724480d18d1f0b881acf83849d83b72d (patch)
tree9badeebc70871212d505e39213cc54be4fa36fd8 /lib/private
parentaf05be1ac7e5b115a1a5593d4d28e3f5556e8ed5 (diff)
downloadnextcloud-server-d0464bf7724480d18d1f0b881acf83849d83b72d.tar.gz
nextcloud-server-d0464bf7724480d18d1f0b881acf83849d83b72d.zip
enable microseconds in log timestamps
Diffstat (limited to 'lib/private')
-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 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();