24:00 versus 23:59:59--another possibility

Paul Koning Paul_Koning at Dell.com
Tue Apr 28 13:26:46 UTC 2009

>>>>> "Arthur" == Arthur David Olson <Olson> writes:

 Arthur> Yet another possibility is to add a special case to zic to
 Arthur> treat instances of 23:59:59 as if they were 24:00; this lets
 Arthur> us use 23:59:59 in input files to make pre-1998 versions of
 Arthur> zic happy and to get correct-to-the-second results out of
 Arthur> post-2009 versions of zic.

I don't like that idea.

Backward compatibility with an 11 year obsolete version that produces
wrong answers for a 1 year old version is not the right tradeoff.

If 24:00:00 produced error messages in a version of zic that was, say,
3-4 years old, that would be different.  But I can't see any reason to
accommodate a version that's 11 years old.  

So make it 24:00 and let people know they need a version of zic that
isn't antique.


More information about the tz mailing list