
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
Team and repository tags
oslo.utils
The oslo.utils library provides support for common utility type functions, such as encoding, exception handling, string manipulation, and time handling.
- Free software: Apache license
- Documentation: https://docs.openstack.org/oslo.utils/latest/
- Source: https://opendev.org/openstack/oslo.utils
- Bugs: https://bugs.launchpad.net/oslo.utils
- Release notes: https://docs.openstack.org/releasenotes/oslo.utils/
Description
Languages
Python
100%