Don't convert Date and DateTime into string
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user