Mercurial > hg > ltpdarepo
diff .hgignore @ 156:f6f93996acf4
Show timezone information for dates extracted from MySQL database.
The convenction is that all datetimes fields in the database are
stored as UTC times. Therefore we customize the mysql python connector
to convert DATETIME fields to an instance of a datetime subclass with
UTC tzinfo, and string representation showing the timezone name,
instead of the timezone naive defaul.
author | Daniele Nicolodi <daniele@grinta.net> |
---|---|
date | Fri, 04 Nov 2011 11:07:12 +0100 |
parents | ccf7eda51468 |
children | 926c2ede1b97 |