This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author akira
Recipients akira, belopolsky
Date 2014-08-21.23:45:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I don't see, how it is a duplicate. Everything works if pytz.utc (.tzname() == 'UTC')
is used instead of timezone.utc (.tzname() == 'UTC+00:00').
Everything works if UTC class from the example [1] 
in the tzinfo docs is used.
It only breaks due to the weird timezone.utc.tzname() return value.


Why does'%Z')
(via timezone.utc.tzname(dt)) produce 'UTC+00:00'?
How is it motivated?
Is it documented somewhere?
Can'%Z') be changed to return 'UTC'?
Date User Action Args
2014-08-21 23:45:20akirasetrecipients: + akira, belopolsky
2014-08-21 23:45:20akirasetmessageid: <>
2014-08-21 23:45:20akiralinkissue22241 messages
2014-08-21 23:45:20akiracreate