[Zope-CVS] CVS: Products/DCOracle2 - db.py:1.10

Matthew T. Kromer matt@zope.com
Tue, 2 Oct 2001 17:26:59 -0400


Update of /cvs-repository/Products/DCOracle2
In directory cvs.zope.org:/tmp/cvs-serv5626

Modified Files:
	db.py 
Log Message:
Change date conversion to use more accurate string representation


=== Products/DCOracle2/db.py 1.9 => 1.10 ===
                 result[i] = LobLocator(result[i])
             elif t == DCOracle2.dco2.OracleDateType:
-                result[i] = DateTime.DateTime(float(result[i]))
+                result[i] = DateTime.DateTime(str(result[i]))
 
     # Added for ChrisM (11/13/2000 MTK)
     def commit_sub(self, *arg, **kw):