From 87dd28cb6f3b32bad29d83dfd1d3fe6b4eae30e6 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Sun, 24 Jul 2016 22:09:05 +0200 Subject: fix milisecond timestamp on php 5.6 --- lib/Utility/Time.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Utility/Time.php b/lib/Utility/Time.php index 0379ff955..363583466 100644 --- a/lib/Utility/Time.php +++ b/lib/Utility/Time.php @@ -24,7 +24,7 @@ class Time { $timestamp = floor($utimestamp); $milliseconds = round(($utimestamp - $timestamp) * 1000000); $result = ($timestamp * 1000000) + $milliseconds; - return $result; + return intval($result); } } \ No newline at end of file -- cgit v1.2.3