mirror of
https://github.com/itflow-org/itflow
synced 2026-03-04 04:44:51 +00:00
Fix PHP UTC issue, new PHP updates did not not respect System TimeZone
This commit is contained in:
@@ -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
|
// 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);
|
//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
|
//Set Currency Format
|
||||||
$currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY);
|
$currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user