[ZCM] [ZC] 1127/ 1 Request "DateTime.strftime bug"

Collector: Zope Bugs, Features, and Patches ... zope-coders-admin at zope.org
Wed Nov 19 14:05:29 EST 2003


Issue #1127 Update (Request) "DateTime.strftime bug"
 Status Pending, Zope/bug medium
To followup, visit:
  http://collector.zope.org/Zope/1127

==============================================================
= Request - Entry #1 by stevea on Nov 19, 2003 2:05 pm

strftime doesn't seem to respect the timezone

>>> DateTime.DateTime('Wed, 19 Nov 2003 18:32:07 -0200').strftime('%Y-%m-%d %H:%M %Z')
'2003-11-19 18:32 GMT'

There's regex code (that I wrote way back when...) that actually does this properly in the DateTime.strftime code. For some reason, it no longer works as it should do. Some other change must have broken it.
==============================================================




More information about the Zope-Collector-Monitor mailing list