neekster Posted November 2, 2011 Report Share Posted November 2, 2011 Western Australia (GMT+8) doesn't have daylight savings time, and hasn't for a few years now, in fact we only had it for one year. But it looks like the PBX is applying DST incorrectly? I'm running on Centos which has all timezones set correctly, but the PBX in the logs shows an extra hour on times, and crucially, all our night switches are an hour out. I have confirmed this is a Timezone bug by switching to China, Taiwan, Singapore timezone, which is the same as us (+8 no DST), and it set's the time correctly. Change back to Western Australia, it's wrong again. Oh and I'm using latest 4.2.1 build. Thanks Quote Link to comment Share on other sites More sharing options...
Vodia PBX Posted November 2, 2011 Report Share Posted November 2, 2011 You mean Australia also stopped the daylight savings madness? <zone name="AUS1"> <description>Western Australia</description> <gmt_offset>28800</gmt_offset> <dst_offset>3600</dst_offset> <dst_start_day_of_week>1</dst_start_day_of_week> <dst_start_month>10</dst_start_month> <dst_start_time>02:00</dst_start_time> <dst_start_week_of_month>Last</dst_start_week_of_month> <dst_stop_day_of_week>1</dst_stop_day_of_week> <dst_stop_month>3</dst_stop_month> <dst_stop_time>02:00</dst_stop_time> <dst_stop_week_of_month>Last</dst_stop_week_of_month> </zone> Would become: <zone name="AUS1"> <description>Western Australia</description> <gmt_offset>28800</gmt_offset> </zone> What about the other timezones in Australia? Quote Link to comment Share on other sites More sharing options...
neekster Posted November 2, 2011 Author Report Share Posted November 2, 2011 No only Western Australia stopped the madness But even that was madness! We didn't have it, then they held a referendum about having it, we said we didn't want it, they gave it to us anyway, they did away with it a few years later. It's all fun! No other changes here, only Queensland,Western Australia and Northern Territory don't have daylight savings. All other states and territories do. This year for example: 2011-12 TAS, VIC, ACT, NSW, SA Start: 2/10/2011 End: 1/4/2012 So I've looked but have no idea where to change the lines you mentioned, else I would have done it already. I believe it to be a timezone.xml but I can't find that file? Thanks Quote Link to comment Share on other sites More sharing options...
pbx support Posted November 2, 2011 Report Share Posted November 2, 2011 If you navigate to "Admin->WebPage Control" section, you will see the "timezones.xml" file in the drop-down list. Select the file (Please do not use Firefox as there was a bug in FF. We have a workaround in the recent versions). Modify it based on the above post. Click on the "save" button Changes done from the web page do not generally require a restart of the service. But if you don't see the desired result, please restart the PBX to rule out any issues. Quote Link to comment Share on other sites More sharing options...
neekster Posted November 3, 2011 Author Report Share Posted November 3, 2011 Got it, that's all fixed. The other timezones for Australia look correct to me, so it's only Western Australia that's incorrect. Would these changes be persistent across version upgrades or will I need to continue to modify it when I upgrade? Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.