Rodolfo Alonso Hernandez 59f3a0dba2 Python-3.12: do not use datetime.datetime.utcnow()
This is deprecated in the favor of:
  datetime.datetime.now(datetime.timezone.utc)

In order to return a ``datetime.datetime`` object without the TZ
zone defined, the ``tzinfo`` member is deleted. That allows the
addition/substraction from offset-naive ``datetime.datetime`` objects.

Change-Id: Id345167e71bf576ec383b9d700f222343b08b249
2023-12-18 14:47:13 +00:00
2022-04-22 01:28:16 +00:00
2019-04-19 19:27:54 +00:00
2018-07-04 08:28:15 +07:00
2022-05-26 17:54:28 +01:00
2019-02-13 14:28:34 +08:00
2023-10-07 11:12:53 +09:00
2020-02-10 18:35:07 +01:00
2023-05-19 15:57:59 +02:00
2021-08-12 01:19:20 +00:00

Team and repository tags

image

oslo.utils

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 MiB
Languages
Python 100%