Re: [Zope-dev] Date Time Problem

2002-07-24 Thread Lennart Regebro

From: Sebastian Sippl [EMAIL PROTECTED]

 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?




___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )



[Zope-dev] Date Time Problem

2002-07-23 Thread Sebastian Sippl

Hi,

another problem occured:

I got the script working, which gives me certain values back from the 
catalog.
But this Time thing still doesnt work !
i have tried nearly everything. 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.

Has anyone ever expierienced the same problem ?

If yes, please help me, i dont know how to proceed 

thanx

Sebastian



___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )