FW: zic leapseconds bug

Olson, Arthur David (NIH/NCI) [E] olsona at dc37a.nci.nih.gov
Tue Jun 13 17:14:11 UTC 2006


David Robinson is not on the time zone mailing list; direct replies
appropriately.

				--ado 

-----Original Message-----
From: David Robinson [mailto:drtr at apache.org] 
Sent: Tuesday, June 13, 2006 1:07 PM
To: Olson, Arthur David (NIH/NCI) [E]
Cc: tz at lecserver.nci.nih.gov
Subject: RE: zic leapseconds bug

I should have mentioned that I'm writing my own code to read the
compiled zoneinfo files, as specified in tzfile.5.

You can't see the problem with zdump, as the transition is not visible
to it. But in Europe/London, there was a transition on 1996-01-01
00:00:00.
Here's my dump of the zoneinfo file for the transition & one row either
side of it:

tttime    gmtoff isdst abbr issdt isgmt
814323619 +0000  0     GMT  1     1    (1995-10-22 01:00:00)
820454419 +0000  0     GMT  0     0    (should be 1996-01-01 00:00:00)
828234020 +3600  1     BST  1     1    (1996-03-31 01:00:00)

leaptime  leapcorr
773020818 19               (1994-06-30 23:59:60)
820454419 20               (1995-12-31 23:59:60)
867715220 21               (1997-06-30 23:59:60)

The transition time is the same as the leap time for the transition
resulting from the switch to the EU rules, i.e. it's one second too
early.

  David

On Tue, 13 Jun 2006, Olson, Arthur David (NIH/NCI) [E] wrote:

> Here's what's happening with leap seconds now, as divined using zdump:
>
> 	Script started on Tue 13 Jun 2006 11:56:20 AM EDT
> 	elsie$ cd ~/src/tz
> 	elsie$ make install TOPDIR=$PWD/tmp REDO=right_only >&-
> 	elsie$ ./zdump -v America/New_York | grep 1972
> 	America/New_York  Sun Apr 30 06:59:59 1972 UTC = Sun Apr 30
> 01:59:59 1972 EST isdst=0
> 	America/New_York  Sun Apr 30 07:00:00 1972 UTC = Sun Apr 30
03:00:00 
> 1972 EDT isdst=1
> 	America/New_York  Fri Jun 30 23:59:60 1972 UTC = Fri Jun 30
19:59:60 
> 1972 EDT isdst=1
> 	America/New_York  Sat Jul  1 00:00:00 1972 UTC = Fri Jun 30
20:00:00 
> 1972 EDT isdst=1
> 	America/New_York  Sun Oct 29 05:59:59 1972 UTC = Sun Oct 29
> 01:59:59 1972 EDT isdst=1
> 	America/New_York  Sun Oct 29 06:00:00 1972 UTC = Sun Oct 29
01:00:00 
> 1972 EST isdst=0
> 	America/New_York  Sun Dec 31 23:59:60 1972 UTC = Sun Dec 31
18:59:60 
> 1972 EST isdst=0
> 	America/New_York  Mon Jan  1 00:00:00 1973 UTC = Sun Dec 31
19:00:00 
> 1972 EST isdst=0
> 	elsie$ exit
>
> 	script done on Tue 13 Jun 2006 11:56:54 AM EDT
>
> What should be different?
>
> 				--ado



More information about the tz mailing list