<div dir="ltr">As a little diversion from the PEP wars, let me ask the group if we can fix this little wart: [1]<div><br></div><div><div>>>> from datetime import *</div><div>>>> t = datetime.now(timezone.utc)</div><div>>>> print(t)</div><div>2015-08-26 13:37:18.729831+00:00</div><div>>>> t.strftime("%F %T %Z%z")<br></div><div>'2015-08-26 13:37:18 UTC+00:00+0000'</div></div><div><br></div><div>The reason for such an odd result is that the "name" of timezone.utc was defined as </div><div><br></div><div><div>>>> t.tzname()</div><div>'UTC+00:00'</div></div><div><br></div><div>I don't think there was any deep reason for this choice.  We simply have one common rule for forming the names of all fixed offset timezones that don't have a name supplied in the constructor:</div><div><br></div><div><div>>>> print(timezone(-5*HOUR))</div><div>UTC-05:00</div></div><div><br></div><div>For technical reasons, we cannot give timezone.utc a name, but I think we can change the rules for forming fixed offset timezone names so that zeros are not printed and instead of</div><div><br></div><div><div>>>> print(timezone(0*HOUR))</div><div>UTC+00:00</div></div><div><br></div><div>we have</div><div><br></div><div><div>>>> print(timezone(0*HOUR))</div><div>UTC</div></div><div><br></div><div><br></div><div>[1]: <a href="http://bugs.python.org/issue22241">http://bugs.python.org/issue22241</a></div></div>