[Datetime-SIG] PEP-431/495

Alexander Belopolsky alexander.belopolsky at gmail.com
Tue Aug 25 14:09:45 CEST 2015




> On Aug 25, 2015, at 7:44 AM, Akira Li <4kir4.1i at gmail.com> wrote:
> 
> note: stdlib variant datetime.now(timezone.utc).astimezone() may fail if it
> uses time.timezone, time.tzname internally [3,4,5] when tm_gmtoff
> tm_zone are not available on a given platform.

If this actually happens on any supported platform - please file a bug report.  What we do in this case is not as simplistic as you describe. 


More information about the Datetime-SIG mailing list