[Zope] TimeError when using fmt="%Y-%m-%d"

Andreas Jung Andreas Jung" <andreas@zope.com
Mon, 29 Oct 2001 10:58:30 -0500


This is the same problem as described earlier. The representation
of the date as integer is out the range for integers.

Andreas
----- Original Message ----- 
From: "Jean Jordaan" <jean@upfrontsystems.co.za>
To: "Andreas Jung" <andreas@zope.com>; <zope@zope.org>
Sent: Monday, October 29, 2001 10:50
Subject: RE: [Zope] TimeError when using fmt="%Y-%m-%d"


> Hi Andreas
> 
> > What is the value of FirstContactDate ?
> 
> Here it is:
> 
> > Traceback (innermost last):
> [...]
> >     (Object: FirstContactDate)
> >     (Info: ('FirstContactDate', DateTime('1900/01/01'), {'fmt':
> '%Y-%m-%d',
> > '': 'FirstContactDate'}))
> [...]
> 
> The object being rendered is a ZClass. FirstContactDate is
> a property of type 'date', and its default value is 1900/01/01.
> 
> Regards,
> Jean
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>