Fix unit test icinga_legacytimeperiod/advanced

refs #5261
This commit is contained in:
Alexander A. Klimov 2019-05-10 14:43:57 +02:00 committed by Michael Friedrich
parent 5e931fe127
commit 2306e0e93f
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ BOOST_AUTO_TEST_CASE(advanced) {
timestamp = "09:00-30:00";
ref.tm_year = 2014 - 1900;
ref.tm_mon = 9 - 1;
ref.tm_mday = 25;
ref.tm_mday = 24;
LegacyTimePeriod::ProcessTimeRangeRaw(timestamp, &ref, &beg, &end);
ts_beg = mktime(&beg);