[Zope] on dates

massimop at users.berlios.de massimop at users.berlios.de
Mon Oct 11 13:04:27 EDT 2004


I'm trying to format a Date retrieved from MySQL, but while I can print
the date as it is I can't access any of the methods, so no strftime()
and no day() etc
I get a 'not allowed in this context' exception
so:
<i tal:content="python:item.data"></i>
is ok but:
<i tal:content="python:item.data.day"></i>
causes Zope to ask for authentication

Zope 2.7.2, Python 2.3.4 here
any hint would be appreciated

thanks
massimo




More information about the Zope mailing list