Hi everyone,
I've created a ZClass and I'm using an HTML table to display certain
properties of the class. One of the properties is a date, and I want to
display in the table only those instances of the ZClass for which this
certain date property is in the future. (It's a job posting ZClass, and I
only want to display jobs that haven't yet closed.)
I see in the ZQR that there is an 'isFuture' test that looks like it is
associated with fmt. ZQR says for isFuture, "Return true if this object
represents a date/time later than the time of the call."
Can I combine this with a <dtml-if>? Is there a more elegant way?
-Tim
--
Tim Wilson | Visit Sibley online: | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN | | http://slashdot.org/
[EMAIL PROTECTED] | <dtml-var pithy_quote> | http://linux.com/
_______________________________________________
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope-dev )