Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timezones issue #111

Open
evazzoler opened this issue Mar 12, 2021 · 0 comments
Open

Timezones issue #111

evazzoler opened this issue Mar 12, 2021 · 0 comments

Comments

@evazzoler
Copy link

It seems the only timezones working are the russians.
"Rome" is missing and causes a warning on the "SCCP Info" page.
I added it on the extconfigs.class.php as:

'Europe/Rome' => array('offset' => '60', 'daylight' => 'Daylight'),

but it generates incorrect entry in the SEP.cnf.xml file.
Then I tried:

'Europe/Rome' => array('offset' => '60', 'daylight' => 'Daylight', 'cisco_code' => 'W. Europe Standard'),

because W. Europe Standard is the correct Cisco Timezone, but in the XML i find:

<timeZone>W. Europe Standard/Daylight</timeZone>
instead:
<timeZone>W. Europe Standard/Daylight Time</timeZone>

and this causes the time is shifted by half an hour... It seems that the missing "Time" word is doing a mess. :-O
The solution was a workaround and was to leave blank the Daylight value of the array (because it is substituted in a wrong way) and include the correct daylight parameter ("Daylight Time") directly in the timezone.

'Europe/Rome' => array('offset' => '60', 'daylight' => '', 'cisco_code' => 'W. Europe Standard/Daylight Time'),

That works good but it remains a workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant