FW: DST for Australian timezones not working
I'm (belatedly) forwarding this message from Prabhuram K, who is not on the time zone mailing list. Those of you who are on the time zome mailing list should direct replies appropriately. --ado From: Prabhuram K [mailto:prabhuram.k@gmail.com] Sent: Monday, October 08, 2007 4:35 To: tz@lecserver.nci.nih.gov Subject: DST for Australian timezones not working Hi, 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 under /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 thing 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. Is this an known issue? Not sure if I am doing something wrong. Any help would be highly appreciated. Thanks for your time, Prabhu
"Olson, Arthur David (NIH/NCI) [E]" <olsona@dc37a.nci.nih.gov> writes:
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]#
Are you actually setting your machine's clock to April 2008? If so, how? One explanation for the observed behavior is that you're setting the clock to one hour past the transition time; that would explain the symptoms you're observing, without any bug in the tz code or data.
On Tue, Oct 23, 2007 at 04:41:52PM -0400, Olson, Arthur David (NIH/NCI) [E] wrote:
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
Since "CST" is used for both Savings and Standard time, it is unclear whether the 02:59:59 timestamp itself is post-transition standard time or pre-transition savings time, so this snippet fails to unambiguously demonstrate things as "not working". To see the transition correctly, we'll use a format that allows us to see whether CST is referring to standard time (09:30 ahead of UTC) or saving time (10:30 ahead of UTC). Since you mention using Fedora I'll presume you have GNU date, with its "%z" format; here is a faked example showing what I expect your output to be: $ date +'%c %Z %:z' Sun Apr 6 01:59:59 2008 CST +10:30 $ date +'%c %Z %:z' Sun Apr 6 02:00:00 2008 CST +10:30 #one hour later... $ date +'%c %Z %:z' Sun Apr 6 02:59:59 2008 CST +10:30 $ date +'%c %Z %:z' Sun Apr 6 02:00:00 2008 CST +09:30 #one hour later... $ date +'%c %Z %:z' Sun Apr 6 02:59:59 2008 CST +09:30 $ date +'%c %Z %:z' Sun Apr 6 03:00:00 2008 CST +09:30 --Ken Pizzini
participants (3)
-
Ken Pizzini -
Olson, Arthur David (NIH/NCI) [E] -
Paul Eggert