[Zope] date formatting question
Dieter Maurer
dieter at handshake.de
Mon Dec 1 13:49:23 EST 2003
Kate Legere wrote at 2003-12-1 11:01 -0500:
> This is silly but in the ZPT I'm working on I can't get the bobobase
> modification time to format in a non-ugly fashion
>
> I tried :
> <a tal:attributes="href item/absolute_url"
> tal:content="item/bobobase_modification_time" fmt=aCommon>
> title</a>
>
> but it pretty much ignores the formatting suggestion.
Try:
<a tal:define="modTime item/bobobase_modification_time"
tal:attributes="href item/absolute_url"
tal:content="modTime/aCommon">
title
</a>
--
Dieter
More information about the Zope
mailing list