+-------[ Miguel Beltran R. ]---------------------- | Hi list, | | This is a bug in strftime? add to report to launchpad? | | <tr tal:repeat="item container/getData"> | <td tal:content="python: item.fecha.strftime('%d-%m-%Y');">09-01-2009</td> | <td tal:content="item/fecha">2009/01/10</td> | </tr> | | can someone confirm this? | using a database postgresql 8.3 | zope 2.11.1 | windows 2003
Zope DateTime objects revert to UTC when using strftime in all versions of Zope. It's known, and doesn't seem to be thought of as a bug. The response I received about this was something to the effect of "write your own DateTime" -- Andrew Milton a...@theinternet.com.au _______________________________________________ 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 )