Subject: Re: US daylight savings changes
To: None <netbsd-users@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: netbsd-users
Date: 02/12/2007 19:48:38
In article <20070212180358.GG21386@run.galis.org>,
George Georgalis <george@galis.org> wrote:
>On Fri, Feb 09, 2007 at 12:45:46PM -0700, Rick Kelly wrote:
>>Robert Elz said:
>>
>>>In source form (ready for zic to compile to binary)
>>>
>>> ftp://elsie.nci.nih.gov/pub/tzdata2007a.tar.gz
>>>
>>>(or ftp://munnari.oz.au/pub/tzdata2007a.tar.gz and probably
>>>numerous other places).
>>>
>>>That's the latest, earlier versions back to sometime during 2006
>>>also contain the US changes - I expect (guess, without checking)
>>>the current NetBSD sources have the US changes already incorporated.
>>>
>>>If you need the code as well, its at the same locations, but
>>>in
>>> tzcode2007a.tar.gz
>>
>>I looked on my systems. It seems that 2.1, 3.0, 4.0 all have the US changes
>>in the data files.
>
>You can verify with this command, on most other systems.
>
># zdump -v US/Eastern | grep 2007
>US/Eastern Sun Mar 11 06:59:59 2007 UTC = Sun Mar 11 01:59:59 2007 EST isdst=0
>US/Eastern Sun Mar 11 07:00:00 2007 UTC = Sun Mar 11 03:00:00 2007 EDT isdst=1
>US/Eastern Sun Nov 4 05:59:59 2007 UTC = Sun Nov 4 01:59:59 2007 EDT isdst=1
>US/Eastern Sun Nov 4 06:00:00 2007 UTC = Sun Nov 4 01:00:00 2007 EST isdst=0
>
>// George
>
>
>--
>George Georgalis, systems architect, administrator <IXOYE><
>
Or the middle two should be EDT and the outer two should be EST.
#!/bin/sh
export TZ=US/Eastern
# s/--date/-d/ on NetBSD
date --date 20070311
date --date 20070312
date --date 20071104
date --date 20071105
christos