[Zope] bug? pagetemplate using strftime

Miguel Beltran R. yourpadre at gmail.com
Fri May 8 14:31:34 EDT 2009

> You can't use stftime.
> You have to manually build a string with the format you want using the
> other methods inside DateTime.
> e.g. fetcha.aCommonZ() or build up your date using
> components such as; fetcha.day()  fetcha.month()  fetcha.year()

I made a script what recive a parameter fecha(f)
script pFecha:
s=s % (f.day(),f.month(),f.year())
print s
return printed

the call is <td tal:content="python: container/pFecha(item.fecha)">

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20090508/8175772d/attachment.html 

More information about the Zope mailing list