Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:
The UTC timezone implementation in the stdlib works well: >>> import datetime >>> datetime.datetime(2020, 9, 9, 8, 0, tzinfo=datetime.timezone.utc) datetime.datetime(2020, 9, 9, 8, 0, tzinfo=datetime.timezone.utc) I guess you use a third-part implementation of the UTC timezone. In such case please report your issue to this implementation. ---------- nosy: +serhiy.storchaka resolution: -> third party stage: -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41750> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com