[ZPT] Equivalent for <dtml-var dateobj fmt=ISO>?
Jean Jordaan
jean@upfrontsystems.co.za
Wed, 14 Aug 2002 08:58:20 +0200
Dieter Maurer wrote:
> > what's the ZPT equivalent for <dtml-var dateobj fmt=ISO>?
>
> <XXX tal:content="dateobj/ISO">
Wow!
> You may read the "var" section in
>
> <http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html>
>
> to learn about the three types of "fmt" attribute values.
Ah, (zooming in a bit in case someone else is following this), you
mean: "A custom format is any method of the object argument
(maybe acquired) that can be called without arguments. The method
result is converted into a string, if necessary." in this section:
http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html#c37ac15c14b4b3b3b2a
If it weren't for your <XXX tal:content="dateobj/ISO"> example, that
would have gone right over my head :]
Thanks!
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za