On Mon, Aug 6, 2012 at 2:53 PM, Giampiero Benvenuti
<giampiero.benven...@chiaroscuro.com> wrote:
> Hi,
>
> I just would like to index a string property of the Folder object in a proper 
> "searchebale" DateTime format.
> Right now I have just a string property like 12:30:30 and I would like to 
> index it as DateTime(DateTime().Date()+' '+mystring)

Then make sure that the folder have an attribute that returns what you
want, and add an index that indexes that attribute.

The folder attribute can be acquired, which means if for example can
be a script in a skin folder, or it can be something you monkey-patch
to the folder. Or it can be calculated, or it can be a view (I think)
etc, etc.

//Lennart
_______________________________________________
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to