mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Set Company Timezone properly upon login
This commit is contained in:
@@ -52,6 +52,10 @@ $session_company_name = $row['company_name'];
|
||||
$session_company_country = $row['company_country'];
|
||||
$session_company_locale = $row['company_locale'];
|
||||
$session_company_currency = $row['company_currency'];
|
||||
$session_company_timezone = $row['company_timezone'];
|
||||
|
||||
// Set Timezone to the companies timezone
|
||||
date_default_timezone_set('$session_company_timezone');
|
||||
|
||||
//Set Currency Format
|
||||
$currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY);
|
||||
|
||||
Reference in New Issue
Block a user