[FEATURE] Set default timezone

Set UTC as default timezone for all date/time functions.

Dont rely on the servers timezone, since this timezone may
change on cloud hosts or may nit be set at all.

Using UTC is a best practice to avoid timezone issues etc.

Refs #73
This commit is contained in:
Dan Untenzu 2017-02-22 16:45:06 +01:00 committed by Jerome Jutteau
parent cd09b476cb
commit 88441753d7

View File

@ -66,3 +66,6 @@ define('JIRAFEAU_WEEK', 604800); // JIRAFEAU_DAY * 7
define('JIRAFEAU_MONTH', 2419200); // JIRAFEAU_WEEK * 4
define('JIRAFEAU_QUARTER', 7257600); // JIRAFEAU_MONTH * 3
define('JIRAFEAU_YEAR', 29030400); // JIRAFEAU_MONTH * 12
// set UTC as default timezone for all date/time functions
date_default_timezone_set ('UTC');