[tz] Getting current tzdb version in use

Fred Gleason fredg at paravelsystems.com
Fri Jul 20 15:34:24 UTC 2018


On Jul 20, 2018, at 10:58, Paul Eggert <eggert at cs.ucla.edu> wrote:

> Plus, distributors need to include something better than "# version unknown", which is what Red Hat is doing unfortunately. See:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1604030 <https://bugzilla.redhat.com/show_bug.cgi?id=1604030>
On any RedHat-ish system, one can get the TZ version very easily by doing:

*** snip snip ***
[fredg at elastigirl ~]$ rpm -q tzdata
tzdata-2018e-3.el7.noarch
*** snip snip ***

Or the equivalent programmatic call to the RPM database.

This, of course, is horrendously platform-specific, but that illustrates the larger point: TZDB has historically been integrated in all sorts of ways on all sorts of platforms; to expect a new ‘one true way to get the version’ to get any kind of traction at this point is rather utopian.

Cheers!


|----------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |              Chief Developer             |
|                           |              Paravel Systems             |
|----------------------------------------------------------------------|
| I looked out my window, and saw Kyle Petty's car upside down, then I |
| thought "one of us is in real trouble".                              |
|                               -- Davey Allison, on a 150 mph crash   |
|----------------------------------------------------------------------|

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mm.icann.org/pipermail/tz/attachments/20180720/a6d61eb8/attachment.html>


More information about the tz mailing list