[Zope] Help with expr

Eric Walstad eric@walstads.net
Thu, 09 Aug 2001 12:06:37 -0700


Hi Todd,
My guess is that you code is doing string comparisons rather than ZopeTime
comparisons.  It might work if you remove the .strftime() method from the
logic portions.
Eric.

> <dtml-in get_story>
> <dtml-if expr="ZopeTime(end) > ZopeTime() and
> ZopeTime(start) <= ZopeTime()">
> <dtml-var title>
> </dtml-if>
> </dtml-in>