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

Russ Allbery eagle at eyrie.org
Thu Oct 7 20:10:30 UTC 2021

Tom Lane via tz <tz at iana.org> writes:

> My point isn't whether it's possible to figure this out on any
> given platform, but that tzdata itself ought to define a standard
> way to find it out.  And I do not agree with Paul's opinion that
> "include tzdata.zi" is a good enough answer; lots of platforms
> won't care to expend the disk space to do it that way.

tzdata.zi is 112KB out of 7.2MB total size (1.7MB apparent size which
doesn't count file system overhead) in /usr/share/zoneinfo on my Debian
system.  Yes, it's larger than a simple version file, but it doesn't seem
that significant on anything other than small embedded systems where I'm
not sure the entire tzdata database would be desired anyway.

Russ Allbery (eagle at eyrie.org)             <https://www.eyrie.org/~eagle/>

More information about the tz mailing list