J
John Nagle
Getting the local time zone in Python is rather difficult.
As of 2008, two articles indicate that the current mechanisms
totally suck:
"Python and time zones part 2: The beast returns!":
http://regebro.wordpress.com/2008/05/10/python-and-time-zones-part-2-the-beast-returns/
"Time zones in Python – welcome to hell":
http://blog.mfabrik.com/2008/06/30/...ortcomings-in-python-datetime-and-workaround/
(Despite that article, there is a straightforward way to get that
information in Windows: "GetDynamicTimeZoneInformation".)
Did something useful ever get done about that? This
ought to be in the "time" module for each platform.
John Nagle
As of 2008, two articles indicate that the current mechanisms
totally suck:
"Python and time zones part 2: The beast returns!":
http://regebro.wordpress.com/2008/05/10/python-and-time-zones-part-2-the-beast-returns/
"Time zones in Python – welcome to hell":
http://blog.mfabrik.com/2008/06/30/...ortcomings-in-python-datetime-and-workaround/
(Despite that article, there is a straightforward way to get that
information in Windows: "GetDynamicTimeZoneInformation".)
Did something useful ever get done about that? This
ought to be in the "time" module for each platform.
John Nagle