Re: [Zope] Working with ZopeTime
30 May
2000
30 May
'00
9:16 p.m.
Hi Tom,
But not with: <dtml-if "date1 == '<dtml-var ZopeTime fmt=Day>'"> (and yes, the day I'm doing it on is Tuesday). Usually, DTML-tags cannot be nested. Exceptions: tags in compound tags such as "if, in, let, with, ...". In your case, the "dtml-var" is simply not recognized and treated as a string rather than expanded.
I assume (though I am not sure), that "ZopeTime" is a "DateTime" object. In this case, you could use: <dtml-if "date1 == ZopeTime.Day()"> Dieter
9441
Age (days ago)
9441
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dieter Maurer