what to put into DateIndexes?
hi! short question: what do i have to "put into" dateindexes? i tried to feed them with DateTime instances, ints, floats, strings - to no avail! the index list of the catalog shows "# objects: 0", though i have some objects in it, maybe you'd like to see the following screenshot: http://apis-intern.com/DateIndex.png - the rightmost colum shows what i've tried to put in there, the empty columns were initialized with DateTime instances, which don't show up at all here... plz help - i couldnt even find something about this trivial issue in the zopebook or elsewhere, they just show how dateindex hast to be queried... regards, juergen herrmann
Jürgen Herrmann wrote:
short question: what do i have to "put into" dateindexes? i tried to feed them with DateTime instances, ints, floats, strings - to no avail!
DateTimes is the answer.
the index list of the catalog shows "# objects: 0",
How do you know it's not lying? Have you tried searching with the index? cheers, Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
[ Chris Withers wrote:]
Jürgen Herrmann wrote:
short question: what do i have to "put into" dateindexes? i tried to feed them with DateTime instances, ints, floats, strings - to no avail!
DateTimes is the answer.
the index list of the catalog shows "# objects: 0",
How do you know it's not lying? Have you tried searching with the index?
cheers,
Chris
thanks for your answers! must have missed something before, of course using DateTime instances works es expected... regards, Juergen Herrmann _______________________________________________________________________
XLhost.de - eXperts in Linux hosting <<
Juergen Herrmann Weiherweg 10, 93051 Regensburg, Germany Fon: +49 (0)700 XLHOSTDE [0700 95467833] Fax: +49 (0)721 151 463027 ICQ: 27139974 - IRC: #XLhost@quakenet WEB: http://www.XLhost.de
participants (2)
-
Chris Withers -
Jürgen Herrmann