[Zope] Formatting DateTime values with ZOPE.

Andreas Kostyrka andreas@mtg.co.at
Sun, 25 Jul 1999 13:23:25 +0200 (CEST)


Hi!

I've discovered after some time fooling around, that the following
works to generate a european date format:

<dtml-with ZopeTime><dtml-var %d.%m.%Y></dtml-with>

What I'm curious about is, that

<dtml-var "_.getattr(ZopeTime,'%d.%m.%Y')">

generates an AttributeError. Now I'm wondering what magic dtml-with is
using ;)

Andreas
--
Andreas Kostyrka                     | andreas@mtg.co.at
phone: +54/1/7070750                 | phone: +43/676/4091256   
MTG Handelsges.m.b.H.                | fax:   +43/1/7065299
Raiffeisenstr. 16/9                  | 2320 Zwoelfaxing AUSTRIA