[tz] Changing 24:00 to 0:00 where possible

Jacob Pratt jacob at jhpratt.dev
Tue Apr 4 09:49:48 UTC 2023

While writing a parser for tzdb files, I noticed that some rules are for a
given date at 24:00, rather than the following day at 0:00. While in some
cases this is unavoidable (Egypt), in others there is no reason this is
necessary (Belize).

I think it would be reasonable to change 24:00 to 0:00 where possible,
incrementing the day, day of week, and month as appropriate. This would
reduce the need for special casing values to those that have a technical

Jacob Pratt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mm.icann.org/pipermail/tz/attachments/20230404/decf8fac/attachment.html>

More information about the tz mailing list