[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)

STINNER Victor report at bugs.python.org
Fri Jul 28 05:07:44 EDT 2017


STINNER Victor added the comment:

James Henstridge:
> The Olson time zone database (used by most UNIX systems and Mac OS X)
has a number of time zones with historic offsets that use second
resolution (from before those locations switched to a rounded offset
from GMT).

Ok for increasing the resolution to seconds. But PR 2896 increases the resolution to microseconds. What is the rationale for supporting microseconds?

I would prefer to only accept microseconds=0.

----------

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


More information about the Python-bugs-list mailing list