SV: [Zope] Matching a date that's in a Zcatalog field index
Geir Bækholt
geirh@funcom.com
Mon, 19 Feb 2001 22:22:00 +0100
you could always try something like
<untested>
<dtml-in "NewsCatalog(_.DateTime.isCurrentDay(CreateDate))">
</untested>
hope it works..
:-)
Geir Bækholt
geirh@funcom.com
>I've set a CreateDate property on a bunch of files--basically, i
grab the
>ZopeTime at the time of the DTML Document's creation and write it
to a
>CreateDate property of type date. Now I'm trying to pull individual
dates
>out of the Catalog--for instance, to show all of the stories
written today.
>What's the proper syntax for matching this stuff? This doesn't
work:
>
><dtml-in "NewsCatalog(CreateDate.Date()=_.ZopeTime().Date())">
>
></dtml-in>