breaking change in 2024b
A change to this commit: https://github.com/eggert/tz/commit/812aff32b32c02266361d5538351e0db2a1aee5b has broken the database parser I wrote. I believe it to be an accidental breakage. “April” was used instead of “Apr”. This is the only place in the database that full month names are used. Would it be possible to fix this and issue a new release? Howard
+1 The java timezone updater fails with the following error message: Caused by: java.lang.IllegalArgumentException: Unknown month: April at tools.tzdb.TzdbZoneRulesProvider$MonthDayTime.parseMonth(TzdbZoneRulesProvider.java:391) Marc Howard Hinnant via tz wrote:
A change to this commit: https://github.com/eggert/tz/commit/812aff32b32c02266361d5538351e0db2a1aee5b
has broken the database parser I wrote. I believe it to be an accidental breakage. “April” was used instead of “Apr”. This is the only place in the database that full month names are used.
Would it be possible to fix this and issue a new release?
Howard
On 2024-09-05 14:12, Marc Wick via tz wrote:
Caused by: java.lang.IllegalArgumentException: Unknown month: April
Thanks for reporting that. As mentioned in my email earlier today, I installed a patch[1] to the development repository that should address that issue. Please use that patch in further testing if possible. As the 2024b data entry is correct and the 2024b release is mostly to shake out compatibility issues, I hope we can simply fold [1] into the next release, which I imagine will be not that far in the future given recent emails about the Philippines and Ukraine. You can stay with 2024a in the meantime, if you can't easily fix parsers to read month names like "April". (For what it's worth full month names have been used occasionally in the past, though admittedly not recently.) Another patch[2] I circulated earlier today should make similar problems less likely in future releases. I also just now installed the attached patch to make it clearer that month names need not be three letters in zic input. [1]: https://github.com/eggert/tz/commit/926b507fa5c3192b1b68fab5910cbd3ba9377c97 [2]: https://github.com/eggert/tz/commit/7b6fb155cadd5e5ee70b55c2770e1bdd2f5d2a38
participants (3)
-
Howard Hinnant -
Marc Wick -
Paul Eggert