mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
The option to set the timezone in PHP was disabled to prevent inconsistencies with MariaDB/MySQL, which utilize the system's timezone, Although can still select timezone in the app the system time will overide it. So its best to set timezone on the system itself
This commit is contained in:
@@ -55,7 +55,8 @@ $session_company_currency = $row['company_currency'];
|
||||
$session_timezone = $row['config_timezone'];
|
||||
|
||||
// Set Timezone to the companies timezone
|
||||
date_default_timezone_set($session_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);
|
||||
|
||||
//Set Currency Format
|
||||
$currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY);
|
||||
|
||||
Reference in New Issue
Block a user