Module: check_mk
Branch: master
Commit: 5692ab88785971ac5a992fece643439c0184f820
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5692ab88785971…
Author: Tom Baerwinkel <tb(a)mathias-kettner.de>
Date: Thu Mar 8 15:51:17 2018 +0100
5747 FIX fix daylight saving time error
When the actual time was inside/outside the daylight saving time and a report
was outside/inside the daylight saving time the calculated time for the last
or next scheduled reports was off by 1h. This is fixed now by using the
dateutil library internally.
Change-Id: I51bfcc9d38833435379e13c7d12d0b126c78dbdf
---
.werks/5747 | 13 ++++
cmk/schedule.py | 190 +++++++++++++++++++++++++++++----------------
tests/cmk/test_schedule.py | 142 +++++++++++++++++++++++++++++++++
3 files changed, 278 insertions(+), 67 deletions(-)
Diff:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commitdiff;h=5692ab8878…