21 Apr
2009
21 Apr
'09
3:24 a.m.
+-------[ 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 akm@theinternet.com.au