Repository navigation
Highlights
- First release for Zig 0.17. Requires Zig 0.17.0.
- Faster weekday and time-of-day calculations.
Breaking Changes
minimum_zig_versionis now0.17.0. Usev0.9.0for Zig 0.16.- POSIX
TZparsing is stricter. Malformed strings that were previously accepted now returnerror.InvalidPosix, including strings that start with a digit, designations shorter than three characters, and inputs such asUTC,foo.
Fixes and Improvements
- Don't crash when
TZis set to an empty string. zeit now falls back to UTC, like glibc. - Fix an integer overflow when parsing
TZ. - Fix DST offset assignment when a POSIX
TZstring ends with the DST offset. - Speed up weekday calculation and shorten the hour/minute/second dependency chain. Benchmarks are in
bench/TIME.md. - Fix the
zig fetchcommands and the example in the README.
Pull Requests Included
- Update to new
b.addFmtAPI and update minimum Zig version by @der-teufel-programming in #71 - Fix head reference in zig fetch commands by @AloisMahdal in #74
- Several TZ related fixes by @AloisMahdal in #75
- Update to Zig 0.17.0 by @rockorager in #77
Full Changelog: v0.9.0...v0.10.0