Timezone-aware datetime - zdt

2 years and still here :tada: (again) - still nice to track Zig’s progress. `zdt` now with the latest IANA tzdata release 2025c - no rule changes as far as I can see, just comments and code updates (which is not used by zdt).

5 Likes

New IANA timezone db release 2026a :smiling_face_with_sunglasses:

Next timezone db release probably around the corner since British Columbia / CA seems to have decided to stay on DST after the transition in March.

4 Likes

Next IANA tzdb iteration, 2026b - in zdt 0.9.3, https://codeberg.org/FObersteiner/zdt/releases/tag/v0.9.3

This version 0.9.3 should also be fully compatible with zig-0.16-stable (no guarantee for Windows). A zig-0.17-master version will have to wait for a while, too involved in family matters at the moment :wink:

5 Likes

Very cool. I have a friend working on something similar with date (different application). But man, you guys attacked impressive sh: DST gap rejection and POSIX TZ support pretty impressive in your last version. I’m going to update to v0.9.3 now. Nice work!!

1 Like

IANA tzdb 2026c is out, Canada keeps pushing it :slight_smile:

Just tagged v0.9.4 for Zig 0.16 and v0.10.0-dev for Zig master.

If a system-independent timezone database should be part of Zig std at some point, you’ll need and automated update process :winking_face_with_tongue:

1 Like