From: Mike Bayer Date: Thu, 4 Aug 2011 19:20:34 +0000 (-0400) Subject: link date/time classes correctly, helps [ticket:2244] X-Git-Tag: rel_0_6_9~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b32c2001029d70233d032bab37cde3c5debe216e;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git link date/time classes correctly, helps [ticket:2244] --- diff --git a/lib/sqlalchemy/dialects/sqlite/base.py b/lib/sqlalchemy/dialects/sqlite/base.py index e2f5f23159..049f59c864 100644 --- a/lib/sqlalchemy/dialects/sqlite/base.py +++ b/lib/sqlalchemy/dialects/sqlite/base.py @@ -16,7 +16,7 @@ SQLite does not have built-in DATE, TIME, or DATETIME types, and pysqlite does n out of the box functionality for translating values between Python `datetime` objects and a SQLite-supported format. SQLAlchemy's own :class:`~sqlalchemy.types.DateTime` and related types provide date formatting and parsing functionality when SQlite is used. -The implementation classes are :class:`DATETIME`, :class:`DATE` and :class:`TIME`. +The implementation classes are :class:`~.sqlite.DATETIME`, :class:`~.sqlite.DATE` and :class:`~.sqlite.TIME`. These types represent dates and times as ISO formatted strings, which also nicely support ordering. There's no reliance on typical "libc" internals for these functions so historical dates are fully supported.