Skip to content

Improve the TZif database file parser#15825

Merged
straight-shoota merged 6 commits intocrystal-lang:masterfrom
HertzDevil:feature/tzif
May 28, 2025
Merged

Improve the TZif database file parser#15825
straight-shoota merged 6 commits intocrystal-lang:masterfrom
HertzDevil:feature/tzif

Conversation

@HertzDevil
Copy link
Contributor

@HertzDevil HertzDevil commented May 24, 2025

Resolves #11907.

There are no file format changes for TZif version 4.

Performance optimizations on existing code are deliberately left out in this PR (e.g. skipping over the leap seconds records).

Co-authored-by: Johannes Müller <straightshoota@gmail.com>
@straight-shoota straight-shoota added this to the 1.17.0 milestone May 26, 2025
@straight-shoota
Copy link
Member

It would be nice to include the instructions for rebuilding zoneinfo in the repo. Since you just did that, would you mind setting that up? Maybe as a make recipe?
Should be a separate PR though.

@straight-shoota straight-shoota merged commit 3398137 into crystal-lang:master May 28, 2025
36 checks passed
@HertzDevil HertzDevil deleted the feature/tzif branch May 29, 2025 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

time/unix: Crystal fails to parse slim zoneinfo files

2 participants