[Zope] DateTime misfeature

Chris McDonough chrism@digicool.com
Sun, 28 Nov 1999 19:38:25 -0500


Stephen Pitts wrote:
> 
> According to lib/python/DateTime/Datetime.py:
> DateTime objects may be converted to integer, long, or float
> numbers of days since January 1, 1901, using the standard int,
> long, and float functions.
> 
> However <dtml-var "_.float(ZopeTime)"> generates a TypeError. Am I I
> doing something wrong, or should this be entered in the Collector?

I think you want <dtml-var "_.float(ZopeTime())">

Ecch.

-- 
Chris McDonough
Digital Creations, Inc.
Zope - http://www.zope.org