[Zope-dev] Date Time Problem

Lennart Regebro lennart@torped.se
Wed, 24 Jul 2002 11:11:41 +0200


From: "Sebastian Sippl" <sebastian@proceryon.at>
>
> return context.cata({'content' : id,
>                     'date' : DateTime()-7,
>                     'date_usage' : 'range:min',
>  })
>
> I always get back all catalog items.

You should get back all items that have a date that is set to after
DateTime()-7 or set to ''.
What is it you want to get?