Hi,
I'm trying to fix things for the upcoming Daylight Savings Time
change. We're using a rather old Red Hat Linux system. (Please, no
questions about why we haven't upgraded.)
A couple of places recommended downloading the timezone files from
ftp://elsie.nci.nih.gov/pub/ and running zic on the files, but I'm not
sure it worked right. I don't know if I did something wrong, or if
I'm wrong to expect different output from what I'm getting...
I went to that site and downloaded and unpackaged tzcode2007c.tar.gz
and tzdata2007c.tar.gz. First, in tzcode2007c, I did a "make" to
rebuild zic and zdump. (It complained about yearistype.sh not being
found in tzcode2007c, so I symlinked the one I found in tzdata2007c
and continued.) Then, in tzdata2007c, I tried to run zic on the
files, using the zic I just built. All the files except three,
iso3166.tab, zone.tab, and yearistype.sh, looked like source files for
zic, so I ran it with a command like this:
zic -d mytestdir [a-f]* [l-s]*
to pick up all the files except for those three. The result was a
bunch of files and subdirectories being created in mytestdir.
But then I ran the zdump I just built on the PST8PDT file that zic
just created:
zdump -v mytestdir/PST8PDT
The portion of the output for the years 2006 through 2008 looked like
this:
PST8PDT Sun Apr 2 09:59:59 2006 UTC = Sun Apr 2 01:59:59 2006 PST
isdst=0
PST8PDT Sun Apr 2 10:00:00 2006 UTC = Sun Apr 2 03:00:00 2006 PDT
isdst=1
PST8PDT Sun Oct 29 08:59:59 2006 UTC = Sun Oct 29 01:59:59 2006 PDT
isdst=1
PST8PDT Sun Oct 29 09:00:00 2006 UTC = Sun Oct 29 01:00:00 2006 PST
isdst=0
PST8PDT Sun Apr 1 09:59:59 2007 UTC = Sun Apr 1 01:59:59 2007 PST
isdst=0
PST8PDT Sun Apr 1 10:00:00 2007 UTC = Sun Apr 1 03:00:00 2007 PDT
isdst=1
PST8PDT Sun Oct 28 08:59:59 2007 UTC = Sun Oct 28 01:59:59 2007 PDT
isdst=1
PST8PDT Sun Oct 28 09:00:00 2007 UTC = Sun Oct 28 01:00:00 2007 PST
isdst=0
PST8PDT Sun Apr 6 09:59:59 2008 UTC = Sun Apr 6 01:59:59 2008 PST
isdst=0
PST8PDT Sun Apr 6 10:00:00 2008 UTC = Sun Apr 6 03:00:00 2008 PDT
isdst=1
PST8PDT Sun Oct 26 08:59:59 2008 UTC = Sun Oct 26 01:59:59 2008 PDT
isdst=1
PST8PDT Sun Oct 26 09:00:00 2008 UTC = Sun Oct 26 01:00:00 2008 PST
isdst=0
In other words, it still appears that the DST changes are happening in
April and October, instead of March and November.
So what am I doing wrong? Maybe I'm trying to zdump the wrong file,
but running zdump on the other ones that seem likely produce output
lines only for 1901 and 2038.
Thanks in advance for any help you can provide.
-- thanks, Adam