I have version 2009g installed on AIX. US/Eastern is not in the timezone information. America/New_York is not either. The strange thing is that I have the same version installed on Linux and they are there. I installed both from downloading the tgz from the pytz web site. The python version is different on the two systems. I would like to be able to find something that works the same on both systems. Either US/Eastern or America/New_York.
Here is the AIX information:
$ python
Python 2.6 (r26:66714, Oct 28 2008, 16:33:58) [C] on aix5
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytz
>>> pytz.__version__
'2009g'
>>> 'US/Eastern' in pytz.common_
False
>>> 'US/Eastern' in pytz.common_
False
>>> 'US/Eastern' in pytz.all_timezones
False
>>> pytz.country_
['America/
>>> 'America/New_York' in pytz.all_timezones
False
Here is the Linux information:
brente@belmer:~$ python
Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pytz
>>> pytz.__version__
'2009g'
>>> 'US/Eastern' in pytz.common_
True
>>> 'US/Eastern' in pytz.all_timezones
True
>>> pytz.country_
['America/
>>> 'America/New_York' in pytz.all_timezones
True