[issue12750] datetime.datetime timezone problems

R. David Murray report at bugs.python.org
Mon Aug 15 17:36:17 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Ah.  Well, pre-3.2 datetime itself did not generate *any* non-naive datetimes.

Nor do you need to specify everything for replace.  dt.replace(tzinfo=tz) should work just fine.

----------
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list