summaryrefslogtreecommitdiff
path: root/include/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.php')
-rw-r--r--include/functions.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/functions.php b/include/functions.php
index d42e111f2..8d09abf7b 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -855,6 +855,8 @@
global $utc_tz;
global $tz_offset;
+ $timestamp = substr($timestamp, 0, 19);
+
# We store date in UTC internally
$dt = new DateTime($timestamp, $utc_tz);