summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2017-01-25 13:24:52 (GMT)
committerChristian Pointner <equinox@helsinki.at>2017-01-25 13:24:52 (GMT)
commita57adac400ac406d1bdead2b6e9c647d7f04d20e (patch)
treebf3adcf3750a4e3bded8cac6219f2a10ca3e54d2
parent1df8dca6017f935e1aa98229cd0486a6133780ad (diff)
fix show-id selection for Radio Stimme
-rwxr-xr-xrhautoimport-rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhautoimport-rs b/rhautoimport-rs
index 9e3f6e5..2d9ffab 100755
--- a/rhautoimport-rs
+++ b/rhautoimport-rs
@@ -83,7 +83,7 @@ if($dow <= $week_table{$curweek}) {
$import_date[2] = $week_table{$nextweek};
@import_date = Date::Calc::Business_to_Standard(@import_date);
@import_date = Date::Calc::Add_Delta_Days(@import_date, 7);
- $dow = $week_table{$curweek};
+ $dow = $week_table{$nextweek};
}
print "day of next Radio Helsinki broadcast: " . Date::Calc::Date_to_Text(@import_date) . "\n";