On Sat, 23 Jun 2007 04:34:37 -0700, Charlie Clark <[EMAIL PROTECTED]> wrote:

If it returns a __FLOOR_DATE then you can easily write your own comparison to create a boolean.

<p tal:condition="python: context.effective() > DateTime(1970, 0) and context.effective < context.modified()">has an effective date and was modified afterwards</p>

Wonderful, then my template code depends on some variable defined in the code as the floor date as a private variable, meaning I shouldn't introspect it. Very robust. ;)

Alexander Limi ยท http://limi.net

Zope-CMF maillist  -  Zope-CMF@lists.zope.org

See http://collector.zope.org/CMF for bug reports and feature requests

Reply via email to