[Zope] Problem with date

Vikas Mahajan vikas@morelinux.com
Thu, 22 Jun 2000 13:41:15 +0000 (GMT)


Hello,
I have two version of zope one is  1.2.2  downloaded as a binary release  and another is 1.2.6 downloade as a source from Zope.org. 
My operating systen is Turbolinux 6.0.  
I have got the database connection for MySQL  only for the veersion 1.2.6 which i had compiled from source.I 
Both are installed on different computers and working normally.
Now my problem is to insert a date type in the properties of folder. The formats like Jan. 07, 2000    January 07 2000 jan 07 2000 2000/07/01 all work well in the version 1.2.2 which is a binary release. But, none of the format works with the version 1.2.6 which i had downloaded as source. The error i am getting with the date type data is as follows.


          Error Type: Invalid Date-Time String
          Error Value: january 20, 2000 

Traceback (innermost last):
  File /home/suhail/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 214, in publish_module
  File /home/suhail/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 179, in publish
  File /home/suhail/Zope-2.1.6-src/lib/python/Zope/__init__.py, line 202, in zpublisher_exception_hook
    (Object: ElementWithAttributes)
  File /home/suhail/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 165, in publish
  File /home/suhail/Zope-2.1.6-src/lib/python/ZPublisher/mapply.py, line 160, in mapply
    (Object: manage_addProperty)
  File /home/suhail/Zope-2.1.6-src/lib/python/ZPublisher/Publish.py, line 102, in call_object
    (Object: manage_addProperty)
  File /home/suhail/Zope-2.1.6-src/lib/python/OFS/PropertyManager.py, line 290, in manage_addProperty
    (Object: ElementWithAttributes)
  File /home/suhail/Zope-2.1.6-src/lib/python/ZPublisher/Converters.py, line 157, in field2date
  File DateTime.py, line 518, in __init__
  File DateTime.py, line 788, in _parse
Invalid Date-Time String: (see above)

I have got the database connection for MySQL  only for the veersion 1.2.6 which i had compiled from source
and  has   t o use MySQL database which  is giving errors when used with binary release.
So any help will be highly appreciated.\
With Regards 
VIkas