[Zope] What kind of object is bobobase_modification_time?

Alexander Staubo alex@mop.no
Tue, 10 Aug 1999 14:33:33 +0200


To answer your question, bobobase_modification_time() is a function. So
just referring to "bobobase_modification_time" will get you the function
instance, not its return value.

Try::

  <!--#if "(bobobase_modification_time() + 60) > ZopeTime()"-->

-- 
Alexander Staubo             http://www.mop.no/~alex/
"QED?" said Russell.
"It's Latin," said Morgan. "It means, So there you bastard."
--Robert Rankin, _Nostramadus Ate My Hamster_

>-----Original Message-----
>From: Jay, Dylan [mailto:djay@lucent.com]
>Sent: 10. august 1999 02:10
>To: 'zope@zope.org'
>Subject: [Zope] What kind of object is bobobase_modification_time?
>
>
>Its acting really weird.
><!--#var "bobobase_modification_time.Date()"--> doesn't work 
>(produces an
>attributeError) but
><!--#var bobobase_modification_time fmt=Date--> does.
>
>What I really want to do is
><!--#if "(bobobase_modification_time + 60) > ZopeTime()"-->
>but that causes a type error. Doing 
>ZopeTime(bobobase_modification_time)
>doesn't work either. I thought bobobase_modification_time was 
>a ZopeTime
>object. Whats the story?
>
>
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://www.zope.org/mailman/listinfo/zope
>
>(To receive general Zope announcements, see:
>http://www.zope.org/mailman/listinfo/zope-announce
>
>For developer-specific issues, zope-dev@zope.org -
>http://www.zope.org/mailman/listinfo/zope-dev )
>