diff options
author | Christian Pointner <equinox@helsinki.at> | 2020-01-08 14:44:26 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2020-01-08 14:44:26 (GMT) |
commit | f10ab566a28249fc0c8e043b1a705c2c7ceb3b72 (patch) | |
tree | 8455e05085ff0b572ea9e4304a9307b4acad5d24 /utils | |
parent | 803b099ab261a07488c3b1d4e96013383b8a7ad7 (diff) |
rhrd-schedules: ingore DOW check if it is set to -10.23.0rel-0.23.0
Diffstat (limited to 'utils')
-rwxr-xr-x | utils/rhrd-schedules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/rhrd-schedules b/utils/rhrd-schedules index 60bea3d..cd4f771 100755 --- a/utils/rhrd-schedules +++ b/utils/rhrd-schedules @@ -175,7 +175,7 @@ sub show__day_entry print "WARNING: title mismatch (PV: '$title' != RD: '" . ${$show}{'TITLE'} . "') -- PV-id: $pvid\n"; return 1; } - if($dow != ${$show}{'DOW'}) { + if(${$show}{'DOW'} != -1 && $dow != ${$show}{'DOW'}) { my $rddowstr = "-"; $rddowstr = Date::Calc::Day_of_Week_to_Text(${$show}{'DOW'}) if(${$show}{'DOW'} >= 0); print "WARNING: wrong day of week (PV: " . Date::Calc::Day_of_Week_to_Text($dow) . " != RD: " . $rddowstr . ") -- PV-id: $pvid\n"; |