Skip to content

Why does TZif data in jiff-tzdb have fewer time transitions than my /usr/share/zoneinfo copy? #121

Answered by BurntSushi
nekevss asked this question in Q&A
Discussion options

You must be logged in to vote

The tzdb files in jiff-tzdb are compiled using the "slim" format. Your system tzdb is probably compiled using the "fat" format to support broken applications or code that otherwise hasn't been updated to support v2 of TZif (which is extremely old itself).

The slim version doesn't include transitions that are described by the POSIX tz rule near the end of the TZif data because they are strictly redundant.

This is very likely what explains the difference.

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BurntSushi
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #120 on August 29, 2024 12:14.