M
MrBlueSky
Hi,
I've got a Python application that (as well as lots of other stuff!)
has to translate time_t values into strings in the TZ of the users
choice. Looking at the Python Library Reference, I can see no platform
independent way of setting the TZ that time.localtime() returns -
tzset() is marked as only available on Unix and that is indeed the
case.
Is there really nothing "shipped as standard"? I'm using Python 2.4.3
on Windows XP.
If not, what's the de-facto standard... pytz?
Ta!
John
I've got a Python application that (as well as lots of other stuff!)
has to translate time_t values into strings in the TZ of the users
choice. Looking at the Python Library Reference, I can see no platform
independent way of setting the TZ that time.localtime() returns -
tzset() is marked as only available on Unix and that is indeed the
case.
Is there really nothing "shipped as standard"? I'm using Python 2.4.3
on Windows XP.
If not, what's the de-facto standard... pytz?
Ta!
John