Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #65079

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

References <CANc-5UyOGNWdug-JvXe_RMn9V7BCGFyZ0NwtSjFMFaW1f_wfhw@mail.gmail.com> <85eh3qcsr9.fsf@benfinney.id.au> <85txckj38q.fsf@benfinney.id.au>
Date 2014-01-31 13:35 +1100
Subject Re: Improving support for timezones in Python (was: UTC "timezone" causing brain explosions)
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.6188.1391135739.18130.python-list@python.org> (permalink)

Show all headers | View raw


On Fri, Jan 31, 2014 at 1:26 PM, Ben Finney <ben+python@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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Improving support for timezones in Python (was: UTC "timezone" causing brain explosions) Chris Angelico <rosuav@gmail.com> - 2014-01-31 13:35 +1100

csiph-web