summaryrefslogtreecommitdiff
path: root/utils/rhrd-schedules
diff options
context:
space:
mode:
Diffstat (limited to 'utils/rhrd-schedules')
-rwxr-xr-xutils/rhrd-schedules1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/rhrd-schedules b/utils/rhrd-schedules
index 30021f8..fa52226 100755
--- a/utils/rhrd-schedules
+++ b/utils/rhrd-schedules
@@ -111,6 +111,7 @@ sub show__day
print "$status: $errorstring\n";
$errcnt++;
} else {
+ ${$show}{'DOW'} = 7 if ${$show}{'DOW'} == 0;
my @weeks = split('', ${$show}{'RHYTHM'});
if ($title ne ${$show}{'TITLE'} && ($title . " (Wiederholung)") ne ${$show}{'TITLE'}) {
print "WARNING: title mismatch (PV: '$title' != RD: '" . ${$show}{'TITLE'} . "') -- PV-id: $pvid\n";