[Zope] Re: [Zope-dev] Date Time Problem

Dieter Maurer dieter@handshake.de
Tue, 23 Jul 2002 23:57:16 +0200


Wrong list, redirected to "zope@zope.org"

Sebastian Sippl writes:
 > ...
 > I use the procedure described in the 
 > zope book, but it doesnt work.
 > 
 > return context.cata({'content' : id,
 >                     'date' : DateTime()-7,
 >                     'date_usage' : 'range:min',
 >  })                  
 > 
 > I always get back all catalog items.
Seems your catalog does not have indexes for "content" and "date".

Note, inside Zope, everything is case sensitive!


Dieter