[issue5094] datetime lacks concrete tzinfo impl. for UTC

Alexander Belopolsky report at bugs.python.org
Sat Jun 12 07:08:01 CEST 2010


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

There is a separate issue #5288 asking to support sub-minute offsets.  This is not hard, but the C code still has a few interfaces left from the time when offset was an integer # of minutes.  I am +1 to fix that, but not as a part of this issue.

On str(tz), I definitely want an invariant str(tz) == tz.tzname(None).  I am open to changes to tzname(), but we are very close to bikesheding here.  Let's settle for 'UTC±HH:MM'.  This seems to be the most common spelling for numeric timezones in various tables on the web.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5094>
_______________________________________


More information about the Python-bugs-list mailing list