Summary

  • RFC 8536, February 2019, specifies the Time Zone Information Format — "a binary format used by most UNIX systems to calculate local time" — a 1980s artifact that has evolved "into multiple upward-compatible versions".
  • What it carries: "offsets from universal time (UT), daylight saving transition rules, one or more local time designations (acronyms or abbreviations), and optional leap-second adjustments".
  • What it refuses to carry: an opinion about where any of that comes from. "This specification does not define the source of the data assembled into a TZif file. One such source is the IANA-hosted time zone database."

A format for facts that expire

Most file formats describe something that stays put: a photograph, a spreadsheet, a song. TZif describes a decision — whether a place observes summer time, when it flips, and what the offset is called — and decisions get revised by people who are not thinking about your server.

So the format has to be dull. The interesting part changes without warning, at the speed of politics, and every device on the planet has to be told.

Tables instead of rules

TZif does not store the rule "the last Sunday in March". It stores a list of instants and what happens at each one.

That makes the reader stupid and the data authoritative. A phone needs no knowledge of a country's politics, only arithmetic — which is why the same file works for a handset, a database and a mainframe that agree on nothing else.

A format that grew upward

The 1980s version counted seconds in 32 bits, which is a polite way of saying it had an expiry date. Later versions added 64-bit times, explicit UT offsets and leap-second records, and the header tells a reader which version it has opened before it reads a single transition.

Upward compatibility is the only kind available to a format that already lives inside every operating system. You cannot ask the world to upgrade on the same afternoon, so the old shape has to keep meaning what it meant.

Format versus source

The most interesting decision in RFC 8536 is an omission. It standardises the box and says, in as many words, that it does not define what goes in it.

That split let one format serve competing data sources and a dozen distributions. It is also why the argument moved upstream: once the container is settled, the only thing left to fight about is who decides the contents — and that turns out to be a small group of volunteer editors whose output every phone on earth quietly downloads.

Editions of reality

Time zone data ships in named releases — 2018e, 2019a, 2024b — and a file is not correct or incorrect in the abstract. It is correct for an edition.

Software that ships this data is republishing other people's law, and the release name is how anyone downstream knows which printing they are holding. A device with stale data is not wrong about time in general. It is wrong about somebody's recent vote.

The lesson about data with owners

Some datasets are not facts about the world. They are records of decisions about the world, and those need provenance every bit as much as they need a format.

The general lesson, which travels well beyond clocks: standardise the container, refuse to own the contents, and make every copy say which edition of somebody else's decision it is carrying.

A format that admits it does not own the truth outlives one that insists it does.