Re: [Zope] DTML - ZPT

2006-08-31 Thread Andreas Jung
--On 31. August 2006 20:36:32 +0200 Antonio Beamud Montero [EMAIL PROTECTED] wrote: Is this the equivalence? dtml-var day fmt=%02i td tal:replace=python:'%02i'%item['day'] or exists other way? No. -aj pgpXRn0rh7dcJ.pgp Description: PGP signature

Re: [Zope] DTML - ZPT

2006-08-31 Thread Tino Wildenhain
Antonio Beamud Montero wrote: Is this the equivalence? dtml-var day fmt=%02i td tal:replace=python:'%02i'%item['day'] or exists other way? Yes, you format your output in a (possibly locales dependant) intermediate layer between your application and your template. In the easiest