From a7cc24254b9e3731306389e1f580a9f820539574 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 15 Jul 2013 09:34:04 -0500 Subject: [PATCH] fixed issue 1586:MSSQL Date format is language dependent, thanks score2000 --- VERSION | 2 +- gluon/dal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index ef2c7eb5..2c5b643e 100644 --- a/VERSION +++ b/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 diff --git a/gluon/dal.py b/gluon/dal.py index 14e2de47..d5107111 100644 --- a/gluon/dal.py +++ b/gluon/dal.py @@ -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':