[Datetime-SIG] The BDFL's take
Alexander Belopolsky
alexander.belopolsky at gmail.com
Wed Jul 29 18:04:18 CEST 2015
On Wed, Jul 29, 2015 at 11:53 AM, Łukasz Rekucki <lrekucki at gmail.com> wrote:
> The cheat here is that you call "astimezone()" without arguments, thus
> it will *always* convert to UTC and back internally (even if your OS
> timezone did not change a single bit).
This is not a "cheat." This is a documented and the recommended way to
accomplish this task.
> If you pass TZ explicitly, it doesn't work.
Sure and there are an infinite number of other ways to make a mistake
in date/time calculations.
More information about the Datetime-SIG
mailing list