Jump to content

Western Australia Timezone incorrect


neekster
 Share

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

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

Link to comment
Share on other sites

If you navigate to "Admin->WebPage Control" section, you will see the "timezones.xml" file in the drop-down list.

 

  1. Select the file (Please do not use Firefox as there was a bug in FF. We have a workaround in the recent versions).
  2. Modify it based on the above post.
  3. 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.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...