mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-01-18 05:18:38 +01:00
[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:
parent
cd09b476cb
commit
88441753d7
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user