[2257] in Kerberos_V5_Development
Re: leap seconds
daemon@ATHENA.MIT.EDU (Bill Sommerfeld)
Thu Feb 20 23:10:45 1997
To: Ken Raeburn <raeburn@cygnus.com>
Cc: krbdev@MIT.EDU
In-Reply-To: Your message of "Thu, 20 Feb 1997 21:38:44 -0500 ."
<9702210238.AA30905@cujo.cygnus.com>
Date: Thu, 20 Feb 1997 22:47:28 -0500
From: Bill Sommerfeld <sommerfeld@orchard.medford.ma.us>
> While investigating some ASN.1 test failures I ran into, and talking
> to Mark and Marc, the question of leap seconds came up...
>
> Is the ASN.1 representation intended to take leap seconds into
> account? My freshly-updated Debian Linux box now appears to have a
> gmtime that does so, and the tests fail.
the asn.1 representation is in YYYYMMDDHHMMSS format; this would imply
that a leap second would show up as:
19961231235960Z
so, if your local unix clock includes leap seconds in the 'seconds
since XXX', then it better take them into account when converting
*both* to AND from ASN.1 (and NTP) time formats..
- Bill