![Julien Danjou](/assets/img/avatar_default.png)
Blindly replacing the timezone information from a timestamp does not make it correctly UTC. It just strips information away, and therefore does not make any valid comparison. This fixes the comparison function by normalizing the timestamps to UTC before doing any comparison. Change-Id: I3a1b1eae497200ca951ccb003dbcc75fb75380fa
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: http://docs.openstack.org/developer/oslo.utils
- Source: http://git.openstack.org/cgit/openstack/oslo.utils
- Bugs: http://bugs.launchpad.net/oslo.utils
Description
Languages
Python
100%