[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zope
Subject:    Re: [Zope] Invalid Date-Time String error
From:       Dieter Maurer <dieter () handshake ! de>
Date:       2003-05-31 9:02:19
[Download RAW message or body]

Chris Bruce wrote at 2003-5-29 12:38 -0700:
 > I when trying to add a ZClass product with Date property, I keep getting an
 > Invalid Date-Time Error.  I am running Zope 2.6.  This ZClass product was
 > created back in Zope 2.4 or so.  Not sure why it is happening now when it
 > has worked in the past on earlier versions of Zope.  Any ideas?
 > 
 > Traceback (innermost last):
 > 
 >   a.. Module ZPublisher.Publish, line 98, in publish
 >   b.. Module ZPublisher.mapply, line 88, in mapply
 >   c.. Module ZPublisher.Publish, line 39, in call_object
 >   d.. Module OFS.PropertySheets, line 396, in manage_addProperty
 >   e.. Module ZPublisher.Converters, line 108, in field2date
 > Invalid Date-Time String

The probable cause is that an empty value is not a legal DateTime string.
Provide a non-empty value.


Dieter

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic