Go to file
Pavlo Kostianov dbba34eeb1 Document parse_isotime() UTC behavior for naive timestamps
The parse_isotime() function treats datetime strings without timezone
designators as UTC rather than returning naive datetime objects as
specified by ISO 8601. This behavior exists for historical reasons
and backward compatibility.

Update the docstring to clearly document this behavior and point users
to alternatives (datetime.fromisoformat() or iso8601 library directly)
for ISO 8601 compliant parsing of naive datetime strings.

Add test to verify the documented behavior matches actual behavior.

Closes-Bug: #1638124

Assisted-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Change-Id: Ib80e86d08cbe62217120d2aa191b0c65e4ef434f
Signed-off-by: Pavlo Kostianov <pkostian@redhat.com>
2026-02-16 15:23:52 +00:00
2025-09-11 17:55:42 +01:00
2025-09-11 17:55:42 +01:00
2019-04-19 19:27:54 +00:00
2025-12-04 18:18:35 +00:00
2018-07-04 08:28:15 +07:00
2024-07-23 23:23:55 +09:00
2024-11-09 15:21:27 +09:00
2019-02-13 14:28:34 +08:00
2026-01-05 15:03:18 +00:00
2025-11-21 22:10:20 +09:00
2025-09-11 17:55:42 +01:00
2025-12-11 12:46:17 +00:00

oslo.utils

image

Latest Version

Downloads

The oslo.utils library provides support for common utility type functions, such as encoding, exception handling, string manipulation, and time handling.

Description
OpenStack library utils
Readme 8.7 MiB
Languages
Python 100%