fixed issue 1586:MSSQL Date format is language dependent, thanks score2000
This commit is contained in:
1 parent
b60452ef47
commit
a7cc24254b
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -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