New submission from Mario Corchero <marioc...@gmail.com>: At the moment strptime misparses all microsecond specifications that do not have exactly 6 digits as it is just converted into an int and considered microsecond.
This bug was introduced with the implementation in bpo-31800 Example: _strptime._strptime("+01:30:30.001", "%z") == _strptime._strptime("+01:30:30.000001", "%z") ---------- components: Library (Lib) messages: 307952 nosy: mariocj89 priority: normal severity: normal status: open title: strptime misparses offsets with microsecond format type: behavior versions: Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32267> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com