PDA

View Full Version : DST for Australian timezones not working



prpersonal
16th October 2007, 08:52 AM
Hello Experts,
I wanted to update my linux box with the recent DST changes in Australia/Newzealand. I downloaded the latest tzdata from ftp://elsie.nci.nih.gov/pub/ and I compiled 'australasia' using zic compiler. I replaced the latest timezone settings for Australia in /usr/share/zoneinfo.

zdump shows the recent DST changes for Australian time zones. (from 2008, daylight savings starts on the first Sunday in October and end on the first Sunday in April)

[root@a10-10-4-61 root]# zdump -v /etc/localtime | grep 2008
/etc/localtime Sat Apr 5 16:29:59 2008 UTC = Sun Apr 6 02:59:59 2008 CST isdst=1 gmtoff=37800
/etc/localtime Sat Apr 5 16:30:00 2008 UTC = Sun Apr 6 02:00:00 2008 CST isdst=0 gmtoff=34200
/etc/localtime Sat Oct 4 16:29:59 2008 UTC = Sun Oct 5 01:59:59 2008 CST isdst=0 gmtoff=34200
/etc/localtime Sat Oct 4 16:30:00 2008 UTC = Sun Oct 5 03:00:00 2008 CST isdst=1 gmtoff=37800
[root@a10-10-4-61 root]#

Now my problem is, DST settings for Australia starts correctly on first sunday of October, but it is not ending at first sunday of April.

DST START: (working perfectly)
-------------
[root@a10-10-4-61 root]# date
Sun Oct 5 01:59:59 CST 2008
[root@a10-10-4-61 root]# date
Sun Oct 5 03:00:00 CST 2008
[root@a10-10-4-61 root]#

DST END: (not working)
----------
[root@a10-10-4-61 root]# date
Sun Apr 6 02:59:59 CST 2008
[root@a10-10-4-61 root]# date
Sun Apr 6 03:00:00 CST 2008
[root@a10-10-4-61 root]#

To cross verify, I tried the same things in Fedora Core 7 without the patch, there also I observed the same behavior. i.e., without the patch, DST correctly starts on last Sunday of October, but not ending at last Sunday of march.

Not sure if I am doing something wrong.

Any help would be highly appreciated.

Thanks for your time,
Prabhu

kevmif
25th November 2007, 12:52 PM
Same deal with F8. Time servers think its midnight when its really 11pm :(

techmum
4th March 2008, 11:17 PM
Guys

just to clarify - in TAS, VIC, ACT, NSW, SA daylight saving ends on 6 April 2008. Only in WA does it finish on March 30.

Australia Daylight Saving Time (http://www.bom.gov.au/climate/averages/tables/dst_times.shtml)

Hence if you are in a state (guess NT doesn't do daylight saving at all) other than WA, tzdata should be set to change on 6 April 2008.

goulin
19th February 2009, 05:11 AM
Hi,

Did you ever resolve this? I am having this issue also. I have my timezone set to Sydney and I have updated the timezone data correctly, and my server will correctly move into daylight savings in October, but will not move out of daylight savings in April.

Cheers,
goulin

goulin
23rd February 2009, 05:03 AM
Hi,

Did you ever resolve this? I am having this issue also. I have my timezone set to Sydney and I have updated the timezone data correctly, and my server will correctly move into daylight savings in October, but will not move out of daylight savings in April.

Cheers,
goulin
Ok, I managed to resolve the issue... it is simply a problem where the date will not change in your current SSH session. When I logged out and logged back in, the date changed perfectly.