I am using arrow module for Python for time zone manipulations. As far as I understand it, it relies on dateutil module for time zone information. dateutil claims:
Internal up-to-date world timezone information based on Olson's database.
I have only found c:\Python34\Lib\site-packages\dateutil\zoneinfo\dateutil-zoneinfo.tar.gz which seems to be used. I have deducted that it is downloaded from http://www.iana.org/time-zones, however it still does not give any hints what version of the database it is.
Is there a way to find what version of Olson's database is being used by arrow module?
Yes, arrow depends on dateutil for tz data.
Unfortunately, dateutil doesn't keep the tzdb version number when it builds its data file, so it is not available at run time.
Walking through the dateutil source code:
The version number can be seen in
tzdata_filein zonefile_metadata.json.In updatezinfo.py, the filename is passed from the metadata into the
rebuildfunction,In the
rebuildfunction, you can see that the data from the file is loaded, but the filename itself is not retained, nor is theVERSIONconstant read from the tzdata makefile.If this feature is important to you, I suggest opening a feature request in the dateutil issue tracker.