[Zope] bug? pagetemplate using strftime

Miguel Beltran R. yourpadre at gmail.com
Tue Apr 21 19:56:11 EDT 2009


Sorry, I not say clear where is the bug
The original data is year 2009, month 01, day 10

2009/4/20 Miguel Beltran R. <yourpadre at gmail.com>

> 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>
>
Using strftime show day 09. Here is the error.


>   <td tal:content="item/fecha">2009/01/10</td>

Here the day show correctly




> </tr>
>
> can someone confirm this?
> using a database postgresql 8.3
> zope 2.11.1
> windows 2003
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20090421/b87dc4a6/attachment.html 


More information about the Zope mailing list