mirror of https://github.com/itflow-org/itflow
Fix PHP UTC issue, new PHP updates did not not respect System TimeZone
This commit is contained in:
parent
bdf868588e
commit
2f4ddd85ca
|
|
@ -58,6 +58,9 @@ $session_timezone = $row['config_timezone'];
|
|||
// 2024-02-08 JQ - The option to set the timezone in PHP was disabled to prevent inconsistencies with MariaDB/MySQL, which utilize the system's timezone, It is now consdered best practice to set the timezone on system itself
|
||||
//date_default_timezone_set($session_timezone);
|
||||
|
||||
// 2024-03-21 JQ - Re-Enabled Timezone setting as new PHP update does not respect System Time but defaulted to UTC
|
||||
date_default_timezone_set($session_timezone);
|
||||
|
||||
//Set Currency Format
|
||||
$currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue