Update of /cvsroot/jtoolkit/jToolkit/data
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9419
Modified Files:
dates.py
Log Message:
Changed one instance of mxDateTime.DateTime to use the assignment "date"
Index: dates.py
===================================================================
RCS file: /cvsroot/jtoolkit/jToolkit/data/dates.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** dates.py 9 Mar 2004 21:20:57 -0000 1.9
--- dates.py 9 Mar 2004 21:25:57 -0000 1.10
***************
*** 189,193 ****
# TODO: remove this if the error is fixed
if type(value) == errortimetype:
! value = mxDateTime.DateTime(value.year, value.month, value.day, value.hour, value.minute, value.second)
return value.Format(dateformat)
# handle null values
--- 189,193 ----
# TODO: remove this if the error is fixed
if type(value) == errortimetype:
! value = date(value.year, value.month, value.day, value.hour, value.minute, value.second)
return value.Format(dateformat)
# handle null values
|