On Sep 28, 10:13 pm, Unruh wrote:
> prabhura...@gmail.com writes:
> >On Sep 25, 9:02 pm, Unruh wrote:
> >> prabhura...@gmail.com writes:
> >> >Hello All,
> >> >I am just looking to get a patch for the recent change in DST time
> >> >settings in Australia. Can somebody help me over it. Its great if I
> >> >can get a patch for linux 7.3, as my application is runnig on that.

>
> >> What is Linux 7.3? There is no such animal.

>
> >> Anywayftp://elsie.nci.nih.gov/pub/
> >> and get the latest tzdata*.tar.gz
> >> Untar it, compile the austral-asia file with zic and install you timezone
> >> to /etc/localtime

>
> >> >Please refer this URL for more details on the recent changes in DST
> >> >settings in Australia:
> >> >http://alldownunder.com/oz-k/date/au...ht-savings.htm
> >> >Thanks in advance,
> >> >Prabhu

> >Thanks a lot for the info. I downoaded the latest tzdata and compiled
> >using zic and replaced the zoneinfo. But now, the DST settings for
> >Australia starts correctly ( moves one hour ahead from 2:00 to 3:00),
> >but it is not ending at first sunday in april. Once the time reaches
> >2:00 AM, it continues to go 2:01, rather than reseting the clock to
> >1:00 AM. Any help would be highly appriciated.

>
> Looking at the file, Australia changes its times at 2:00 Standard time.
> Ie, the change back occurs at 3:00 DST which drops back to 2:00 standard
> time, not at 2:00 DST dropping back to 1:00 standard time.
>
> Anyway use zdump to find out when the times change in a give timezone file.
>
> >Thanks,
> >Prabhu


Yes, I tried zdump and I got the following output

[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]#

It is behaving exactly when it starts, i.e., Oct - 05 - 2008 after
01:59, the clock is moved to 03:00, which is expected.
But if you set the date to April - 06 - 2008 and set the time to
02:59, instead of moving back to 2:00, the clock starts counting to
3:00.

[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

To cross verify, I even tried without this patch in latest Fedora core
release 7, there also I observed the same behavior, i.e., DST corretly
starts at last sunday of October, but it is not ending at the last
sunday of March.

Not sure if I am doing something wrong.

Any help would be highly appriciated.

Thanks,
Prabhu