fixed issue 1586:MSSQL Date format is language dependent, thanks score2000
This commit is contained in:
2
VERSION
2
VERSION
@@ -1 +1 @@
|
||||
Version 2.6.0-development+timestamp.2013.07.15.09.21.09
|
||||
Version 2.6.0-development+timestamp.2013.07.15.09.33.15
|
||||
|
||||
@@ -1857,7 +1857,7 @@ class BaseAdapter(ConnectionPool):
|
||||
if isinstance(obj, datetime.datetime):
|
||||
obj = obj.isoformat(self.T_SEP)[:19]
|
||||
elif isinstance(obj, datetime.date):
|
||||
obj = obj.isoformat()[:10]+' 00:00:00'
|
||||
obj = obj.isoformat()[:10]+self.T_SEP+'00:00:00'
|
||||
else:
|
||||
obj = str(obj)
|
||||
elif fieldtype == 'time':
|
||||
|
||||
Reference in New Issue
Block a user