[issue5288] tzinfo objects with sub-minute offsets are not supported (e.g. UTC+05:53:28)
report at bugs.python.org
Sat Jul 3 01:26:11 CEST 2010
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
I am attaching a patch against sandbox version of datetime.py. With this patch, there is a single place where subminute offset is rejected, _check_utc_offset() function. I have also added "whole minute" asserts in places where sub-minute part of the offset is discarded or assumed 0.
Added file: http://bugs.python.org/file17844/issue5288-proto.diff
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list