mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 20:00:37 +02:00
Use UTC as default timezone.
This commit is contained in:
@@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user