From 794a9f3ea6fdd933702bf2653cbd761fb493220f Mon Sep 17 00:00:00 2001 From: lonalore Date: Mon, 12 Dec 2016 16:41:36 +0100 Subject: [PATCH] Use UTC as default timezone. --- class2.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class2.php b/class2.php index a0bec62a3..e6da00ccd 100644 --- a/class2.php +++ b/class2.php @@ -1140,7 +1140,7 @@ if (($_SERVER['QUERY_STRING'] == 'logout')/* || (($pref['user_tracking'] == 'ses * */ -$tz = vartrue($pref['timezone'],'GMT'); //TODO Adjust on the front-end based on user timezone value. +$tz = vartrue($pref['timezone'], 'UTC'); //TODO Adjust on the front-end based on user timezone value. date_default_timezone_set($tz); // Must be set or PHP Warning thrown.