
Oct. 9, 1998
4:40 p.m.
Paul Eggert writes:
which I am calling the ``modified TIME_TAI''
Your time differences break down near leap seconds. Ever watched xntpd try to handle a leap second? Wobble, wobble, wobble, wobble, wobble. After that, if you don't record the leap second, you'll start printing incorrect local times from before the leap second, for the same reason that Markus starts printing incorrect time differences. The solution is obvious: keep a table of leap seconds! There's no other way to handle UTC timestamps correctly. ---Dan 1000 recipients, 28.8 modem, 10 seconds. http://pobox.com/~djb/qmail/mini.html