[Zope] bug? pagetemplate using strftime

Andrew Milton akm at theinternet.com.au
Mon Apr 20 23:24:03 EDT 2009


+-------[ 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 at theinternet.com.au


More information about the Zope mailing list