From 4dae89dabcd82464b2657f6b47e5ed3fd6e588ce Mon Sep 17 00:00:00 2001 From: johnnyq Date: Thu, 8 Feb 2024 13:01:54 -0500 Subject: [PATCH] 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 --- check_login.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/check_login.php b/check_login.php index 9e277e69..59344fcb 100644 --- a/check_login.php +++ b/check_login.php @@ -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);