mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 12:48:24 +01:00
Use UTC as default timezone.
This commit is contained in:
parent
d91b4b2b98
commit
794a9f3ea6
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user