Dates, times and timezones for Zig 0.17: IANA tzdata, ISO 8601, RFC 822, strftime, CLDR, Go, .NET and git date formats

Fix two bugs the fuzzer found in addChecked and golayout

`DateTime.addChecked` promises to answer `error.OutOfRange` rather than panic, and it panicked on a duration near the bottom of an `i128`. The time of day was taken as `total - carry * nanoseconds_per_day`, and because the floored `carry` rounds down, near the bottom of the range the product lands below it and the subtraction overflows before the refusal can be reached. `@mod` gives the same remainder and never leaves a day's range. No parsed duration is that large, but a `Duration` built directly can be. `golayout` read a zone offset as any two digits a part, so it took `+29:59` and `+05:61`, which Go's `time.Parse` refuses. Go bounds each part loosely, the hours to 24 and the minutes and seconds to 60, both inclusive; asked directly, Go 1.26 reads `+24:60` as 25 hours east and refuses `+25:00` and `+05:61`. `readOffset` now holds to the same bounds, and has a doctest pinned to Go's answers. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EJ5JiD61t7rDUtqGrt8hGY


Author jcollie.dev
Co-author Claude Opus 5.5 (1M context) Date Commit Parent 1a5d416a
+41 -1
2 changed files
+41 -1
2 changed files