[Zope] examples

Martijn Pieters mj@antraciet.nl
Thu, 29 Apr 1999 13:27:54 +0200


At 13:06 29/04/99 , Tom Deprez wrote:
>Great, it's going well. 
>
>Other q'n : 
>
><!--#var PrincipiaTime fmt="aMonth"-->
>
>How can I ask to write the date down as e.g. 29 Apr 1999?
>
>I tried fmt="day, aMonth, year" but it doesn't work...
>
>Do I've to call <!--#var PrincipiaTime fmt="..."--> 3 times for getting
>this result?
>

Yup, I'm afraid so. For non default combinations (i.e., for wich there is
no predefined fmt string), you have to do a call for each element you extract.

Just as an aside: PrincipiaTime has been renamed to ZopeTime.
Principia was the old name of the management interface, before it was
merged with Bobo into Zope.

--
Martijn Pieters, Web Developer
| Antraciet http://www.antraciet.nl
| Tel: +31-35-6254545 Fax: +31-35-6254555
| mailto:mj@antraciet.nl http://www.antraciet.nl/~mj
| PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149
------------------------------------------