[ZPT] Equivalent for <dtml-var dateobj fmt=ISO>?
Jean Jordaan
jean@upfrontsystems.co.za
Tue, 13 Aug 2002 17:22:02 +0200
Hi all
Bit of a newbie question I guess:
what's the ZPT equivalent for <dtml-var dateobj fmt=ISO>?
The best lead I've found so far, was:
http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/AdvZPT.stx#4-102
which says:
the "standard" module in this package provides a number of useful
formatting functions that are standard in the DTML "var" tag.
to be got at like so:
tal:define="global pps modules/Products/PythonScripts/standard"
The fmt functionality is in DT_Var.py, which I'd guess is accessible
as:
tal:define="global dtvar modules/DocumentTemplate/DT_Var"
But what would I do with 'dtvar'?
--
Jean Jordaan
Upfront Systems http://www.upfrontsystems.co.za