]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commit
- Modified SQLite's representation of "microseconds" to
authorMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Jun 2008 20:12:11 +0000 (20:12 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Fri, 27 Jun 2008 20:12:11 +0000 (20:12 +0000)
commit4a66683c9f7853370849b78a1cb8adb6db1687f2
tree3e890d29c50a6255ed0af32c1352bcedefa7de25
parenta02b12da7e2c9146cc25da7c912484b962a10aa9
- Modified SQLite's representation of "microseconds" to
match the output of str(somedatetime), i.e. in that the
microseconds are represented as fractional seconds in
string format.  [ticket:1090]
- implemented a __legacy_microseconds__ flag on DateTimeMixin which can
be used per-class or per-type instances to get the old behavior, for
compatibility with existing SQLite databases encoded by a previous
version of SQLAlchemy.
- will implement the reverse legacy behavior in 0.4.
CHANGES
lib/sqlalchemy/databases/sqlite.py
test/dialect/sqlite.py