[time-nuts] Early leap second data

M. Warner Losh imp at bsdimp.com
Thu Jan 1 00:59:02 UTC 2009


In message: <20090101000621.GD28788 at mail.msys.ch>
            Marc Balmer <marc at msys.ch> writes:
: * M. Warner Losh wrote:
: > My server, which is slaved to NIST's stratum 1 server, did the leap
: > correctly:
: 
: It did not.  There can not be two equal times.

Yes, it was correct.

: > Wed Dec 31 16:59:45 MST 2008
: > Wed Dec 31 16:59:46 MST 2008
: > Wed Dec 31 16:59:47 MST 2008
: > Wed Dec 31 16:59:48 MST 2008
: > Wed Dec 31 16:59:49 MST 2008
: > Wed Dec 31 16:59:50 MST 2008
: > Wed Dec 31 16:59:51 MST 2008
: > Wed Dec 31 16:59:52 MST 2008
: > Wed Dec 31 16:59:53 MST 2008
: > Wed Dec 31 16:59:54 MST 2008
: > Wed Dec 31 16:59:55 MST 2008
: > Wed Dec 31 16:59:56 MST 2008
: > Wed Dec 31 16:59:57 MST 2008
: > Wed Dec 31 16:59:58 MST 2008
: > Wed Dec 31 16:59:59 MST 2008
: > Wed Dec 31 16:59:59 MST 2008
: 
: this is wrong.

No.  this is correct.  POSIX time_t cannot represent the leap second,
since leap seconds aren't in posix time_t's.  Therefore, you have to
repeat one second, and the typical one to repeat is 59.

Warner

: > Wed Dec 31 17:00:00 MST 2008
: > Wed Dec 31 17:00:01 MST 2008
: > Wed Dec 31 17:00:02 MST 2008
: > Wed Dec 31 17:00:03 MST 2008
: > Wed Dec 31 17:00:04 MST 2008
: > 
: > Warner
: > 
: > _______________________________________________
: > time-nuts mailing list -- time-nuts at febo.com
: > To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
: > and follow the instructions there.
: -- 
: Marc Balmer, Micro Systems, Wiesendamm 2a, Postfach, CH-4019 Basel, Switzerland
: http://www.msys.ch/     http://www.vnode.ch/   "In God we trust, in C we code."
: 
: _______________________________________________
: time-nuts mailing list -- time-nuts at febo.com
: To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
: and follow the instructions there.
: 
: 



More information about the time-nuts mailing list