[time-nuts] Leap Quirks

Poul-Henning Kamp phk at phk.freebsd.dk
Sat Jan 3 20:42:18 UTC 2009


In message <495FB615.9080200 at rubidium.dyndns.org>, Magnus Danielson writes:

>> Having a message from ntp.c that says there was a leap
>> to HH:MM:60 implies that HH:MM:60 is a valid time as far
>> as ntp.c's author is concerned.
>
>It is valid UTC time, not valid POSIX time, which are two different things.

Well, it is a valid POSIX time, but it means a second later than
desired in this case, because the 60 is taken as 60 seconds, and
folded into a minute-roll-over.

>> Having used unix since edition V, I am also aware of how unix
>> systems count off seconds since the epoch 1/1/1970.  But that
>> really is immaterial to the discussion.

No, that is actually the crux of the matter...

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



More information about the time-nuts mailing list