DateTime.strftime %Z value is blank
Bug #143543 reported by
Chris McDonough
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DateTime |
Invalid
|
Low
|
Unassigned |
Bug Description
DateTime.strftime behaves differently across Zope revisions, leading me to think that it's broken in 2.8+.
Given the code:
>>> from DateTime import DateTime
>>> d = DateTime()
>>> d.strftime('%a %d %b %Y %I:%M %p %Z')
The Zope 2.7 branch produces:
'Wed 19 Oct 2005 10:25 AM EDT'
The Zope 2.8 branch and Zope HEAD produces:
'Wed 19 Oct 2005 10:27 AM '
affects: | zope2 → datetime |
To post a comment you must log in.
Possibly the patch from #1780 introduced this new behavior. Given the fact that the timezone handling in DateTime seems to be borked in general and nobody understands why or knows how to fix....that's just a minor issue.