Don't convert Date and DateTime into string

This commit is contained in:
Cédric Krier
2009-11-03 15:19:46 +01:00
parent 56a09f5fb2
commit 792dfefc82
+8 -2
View File
@@ -76,11 +76,17 @@ class Numeric(Float):
class Date(Field):
pass
@staticmethod
def sql_format(value):
return value or None
class DateTime(Field):
pass
@staticmethod
def sql_format(value):
return value or None
class Time(Field):