summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
cd09b47)
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
define('JIRAFEAU_MONTH', 2419200); // JIRAFEAU_WEEK * 4
define('JIRAFEAU_QUARTER', 7257600); // JIRAFEAU_MONTH * 3
define('JIRAFEAU_YEAR', 29030400); // JIRAFEAU_MONTH * 12
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');