Jürgen Herrmann wrote at 2005-11-9 13:38 +0100:
>zope 2.7.8's DateTime::strftime() looks like this:
>
>def strftime(self, format):
>  # Format the date/time using the *local timezone representation*.
>  return strftime(format, safelocaltime(self.timeTime()))
>
>it seems that my assumption about strftime's behaviour was incorrect.
>why do we have time zones at all, if strftime always uses the machine's
>local time zone?

Zope's "strftime" is simply broken.

Forget about it. It should be simple to implement your own
version in Python (and I think someone already did).
Once you did, donate the implementation to Zope....

-- 
Dieter
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to