Improving support for timezones in Python (was: UTC "timezone" causing brain explosions)

Chris Angelico rosuav at gmail.com
Thu Jan 30 21:35:36 EST 2014


On Fri, Jan 31, 2014 at 1:26 PM, Ben Finney <ben+python at benfinney.id.au> wrote:
> He also reinforces the message that UTC is the canonical timezone for
> storing and manipulating timestamp values, and we should be converting
> to/from those canonical values as early/late as possible in our programs.

Call it a "UTC Sandwich", like Ned Batchelder's "Unicode Sandwich".
It's a good idea for the same reason.

ChrisA



More information about the Python-list mailing list