[Zope] Working with ZopeTime

Tom Scheidt Tom Scheidt" <tom@falsemirror.com
Tue, 30 May 2000 10:49:30 -0400


Hi All,

Im trying to display information based
on what day of the week it tis using:

<dtml-if "date1 == '<dtml-var ZopeTime fmt=Day>'">

The date1 property on the page I'm calling is "Tuesday".

It works when i do this:
<dtml-if "date1 == 'Tuesday'">

But not with:
<dtml-if "date1 == '<dtml-var ZopeTime fmt=Day>'">
(and yes, the day I'm doing it on is Tuesday).

Any ideas? Thanks.


Tom Scheidt   |   www.falsemirror.com   |   tom@falsemirror.com
----------------------------------------------------------------------------
-----------