[tz] Version identification (was Re: Downstream use of 2021c)

Alan Mintz alan.mintz at gmail.com
Thu Oct 7 22:54:40 UTC 2021


Someone pointed out that there is not necessarily just the one version of
the tzdb represented in the compiled/installed binary files.

I'll note that there are "fifteen bytes containing zeros reserved for
future use" starting at the 6th byte of the tzfile(5) binary format.
Perhaps some of that could be used to carry the version of the source data?
If downstream mods add their own suffix, it makes it easier to identify
which compiled zones came from which source.


On Thu, Oct 7, 2021 at 10:21 AM Paul Eggert via tz <tz at iana.org> wrote:

> On 10/7/21 10:00 AM, Tom Lane via tz wrote:
> > why isn't there an easy way to
> > identify the release version of an installed tzdata tree?
>
> $ head -n 1 /usr/share/zoneinfo/tzdata.zi
> # version 2021b
>
> ...
>

-- 
Alan Mintz <Alan.Mintz at gMail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mm.icann.org/pipermail/tz/attachments/20211007/83a3c75f/attachment.html>


More information about the tz mailing list