From: Mike Bayer Date: Sun, 6 Dec 2009 01:10:59 +0000 (+0000) Subject: - FBDate now extends Date instead of DateTime. [ticket:1573] X-Git-Tag: rel_0_5_7~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce08837f0e945140c7ec7c3c37a364a235d84312;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git - FBDate now extends Date instead of DateTime. [ticket:1573] --- diff --git a/CHANGES b/CHANGES index 49e02e2aab..d0401f6329 100644 --- a/CHANGES +++ b/CHANGES @@ -79,7 +79,10 @@ CHANGES precedence rules to the "::" operator when applying the "timestamp" cast - ensures proper parenthesization. [ticket:1611] - + +- firebird + - FBDate now extends Date instead of DateTime. [ticket:1573] + - mssql - Changed the name of TrustedConnection to Trusted_Connection when constructing pyodbc connect diff --git a/lib/sqlalchemy/databases/firebird.py b/lib/sqlalchemy/databases/firebird.py index 8a8d02d4a1..9a742cae09 100644 --- a/lib/sqlalchemy/databases/firebird.py +++ b/lib/sqlalchemy/databases/firebird.py @@ -174,7 +174,7 @@ class FBDateTime(sqltypes.DateTime): return process -class FBDate(sqltypes.DateTime): +class FBDate(sqltypes.Date): """Handle ``DATE`` datatype.""" def get_col_spec(self):