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

Leave prose after an ISO 8601 date for the caller

`iso8601.parse("2024-03-15 and more")` failed, where the same text after a full date and time was left as trailing text. A space is RFC 3339's stand-in for the `T`, so it was eaten as the separator and a time was then demanded of `and`. A `T` promises a time; a space promises nothing, being also the most ordinary way for a date to end and prose to begin. It is now taken as the separator only when a digit follows it. `2024-03-15 14:30` is a date and time as before, `2024-03-15 and more` is a date and trailing text, and `2024-03-15 25:00` is still an hour out of range rather than a date with something odd after it. The interval tests that worked round this with a comma no longer need to. 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 4915c490
+29 -9
1 changed file
+29 -9
1 changed file