[Zope-Checkins] CVS: Zope2 - Converters.py:1.11.18.1
andreas@serenade.digicool.com
andreas@serenade.digicool.com
Fri, 15 Jun 2001 13:58:53 -0400
Update of /cvs-repository/Zope2/lib/python/ZPublisher
In directory serenade:/tmp/cvs-serv8742/lib/python/ZPublisher
Modified Files:
Tag: ajung-mxdatetime
Converters.py
Log Message:
savepoint
--- Updated File Converters.py in package Zope2 --
--- Converters.py 2001/04/24 20:38:46 1.11
+++ Converters.py 2001/06/15 17:58:50 1.11.18.1
@@ -176,10 +176,10 @@
return split(field2text(v),'\n')
def field2date(v):
- from DateTime import DateTime
+ from mx.DateTime import DateTimeFrom
if hasattr(v,'read'): v=v.read()
else: v=str(v)
- return DateTime(v)
+ return DateTimeFrom(v)
def field2boolean(v):
return v