tzdata version - Re: My confusion with Asia/Aqtau

Robbin Kawabata Robbin.Kawabata at eng.sun.com
Mon Jul 28 16:43:08 UTC 2003


> the statement "I hope that I'm using version 2003a."
> indicates that we also need to include the tz version where the change was
> added.

How about adding a version file in the tzdata database, say _tz_version.txt,
that contains something like:

::::::::::
_tz_version.txt
::::::::::
tzdata 2003a

_tz_version.txt could be a text file that is part of the tzdata source
tar file.  zic could install it to the /usr/lib/zoneinfo/ (or wherever)
directory.

Then zdump -V (new option) could read the _tz_version.txt file, and
print the version as "2003a".

An inconsistency is that the files in the /usr/lib/zoneinfo/ directory
are zoneinfo files, while _tz_version.txt is not.  A user (or
script) could try to set TZ=_tz_version.txt even though it is not a
valid zoneinfo file.  It could help to create a new src directory under
zoneinfo, that would contain source files.
-------------- next part --------------
An embedded message was scrubbed...
From: Martin Smoot <msmoot at nssolutions.com>
Subject: Re: My confusion with Asia/Aqtau
Date: Tue, 22 Jul 2003 11:12:30 -0400
Size: 9958
Url: http://mm.icann.org/pipermail/tz/attachments/20030728/b66e5a37/attachment-0001.mht 


More information about the tz mailing list