comparison src/setup.py @ 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 85b2bc3c7e04
children e2a9b0c3d83e
comparison
equal deleted inserted replaced
155:498ed3c29a0a 156:f6f93996acf4