DateTime toZone returning date /w no time
Bug #142521 reported by
Bug Importer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DateTime |
Fix Released
|
Low
|
Unassigned |
Bug Description
It seems that when toZone() returns a time of exactly midnight, it returns the date only, ignoring the time.
From the command line I confirm the behavior (the first toZone() answer should be 2003/03/22 00:00:00 US/Eastern).
>>> from DateTime import DateTime
>>> d = DateTime(
>>> d
DateTime(
>>> d.toZone(
DateTime(
>>> DateTime(
DateTime(
affects: | zope2 → datetime |
Changed in datetime: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I have removed this confusing special case:
http:// svn.zope. org/?rev= 115125& view=rev
This will be released with DateTime 2.12.5 and ship with Zope 2.12.11 and 2.13.0