Debian Codegraph @

releasenotes/notes/document-parse-isotime-utc-behavior-1638124-8f3a1b5e9c4d2f1a.yaml

raw symbols SCIP
1 ---
2 fixes:
3 - |
4 `Bug #1638124 <https://bugs.launchpad.net/oslo.utils/+bug/1638124>`_:
5 The ``parse_isotime()`` function's docstring now clearly documents that
6 datetime strings without explicit timezone designators (Z, +HH:MM, -HH:MM)
7 are treated as UTC timestamps rather than naive/local time as specified
8 by ISO 8601. This behavior exists for historical reasons and backward
9 compatibility. The documentation now points users to alternatives
10 (``datetime.fromisoformat()`` or the ``iso8601`` library directly with
11 ``default_timezone=None``) for ISO 8601 compliant parsing.