Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: ab00489bdd7f95825d3bd122986ae8b954908b28
https://github.com/Checkmk/checkmk/commit/ab00489bdd7f95825d3bd122986ae8b95…
Author: Konstantin Baikov <konstantin.baikov(a)checkmk.com>
Date: 2023-09-18 (Mon, 18 Sep 2023)
Changed paths:
M cmk/ec/history.py
M tests/unit/cmk/ec/test_ec_history.py
Log Message:
-----------
Use datetime objects instead of struct_time
CMK-14224
The previous time_structs where flaky
because the underlying C implementation
could differ on different platforms.
E.g. year must be between 1970-2038
and so on. The OverflowError was frequent
in resilience tests.
Beside the readability is better.
Change-Id: Ie3035a9b85e091a514affd693b809d46a236b944