[issue9527] Add aware local time support to datetime module

Raymond Hettinger report at bugs.python.org
Sun Jan 30 05:56:23 CET 2011


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

I think Tim and Guido had deliberately avoided local timezone awareness when they designed the module.

Also, I question whether the proposed API is correct.  ISTM that any code that sets the *dst* parameter is guaranteed to be wrong (hardwiring-in a value that will change every few months).

Have you studied the solutions used in other libraries and other languages?  This path has been well-traveled, so original work may be less helpful than just researching existing solutions.

----------
nosy: +rhettinger

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9527>
_______________________________________


More information about the Python-bugs-list mailing list