[ZPT] fmt

Peter Bengtsson mail@peterbe.com
Wed, 30 May 2001 15:01:12 +0200


I don't know the answer, but if you are desperate and it only concerns time
you can do it with strftime().

<div
tal:content="python:object.bobobase_modification_time().strftime(%Y-%m-%d
%H:%M)" />

if you get an answer to this, let me know and I'll stick it into my
http://www.zope.org/Members/peterbe/DTML2ZPT

Peter
----- Original Message -----
From: "Magnus Heino" <magnus.heino@rivermen.se>
To: <zpt@zope.org>
Sent: Wednesday, May 30, 2001 9:55 AM
Subject: [ZPT] fmt


> Hi.
>
> How do I write this with ZPT?
>
> <dtml-var bobobase_modification_time fmt="%Y-%m-%d %H:%M">
>
> /Magnus
>
>
> _______________________________________________
> ZPT mailing list
> ZPT@zope.org
> http://lists.zope.org/mailman/listinfo/zpt