diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-03-12 05:01:22 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-03-12 05:01:22 (GMT) |
commit | c29dcdf834efd8623ab20f34fd47e1e24ab619b2 (patch) | |
tree | cd0e3a3e82ff69eafc0b2d6a1d714a0e24ef5d7b /rhautoimport-tr | |
parent | 20447227f487ca25354255f5f2171976afbe8d7b (diff) |
small cleanups and fixes
Diffstat (limited to 'rhautoimport-tr')
-rwxr-xr-x | rhautoimport-tr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rhautoimport-tr b/rhautoimport-tr index fac160a..2de6c42 100755 --- a/rhautoimport-tr +++ b/rhautoimport-tr @@ -73,7 +73,7 @@ print "day of Radio Helsinki broadcast: " . Date::Calc::Date_to_Text(@import_dat my $id = sprintf("%04d-%02d-%02d", @import_date); my $bd = sprintf("%04d-%02d-%02d", @broadcast_day); -my $bdfile = sprintf("^%04d%02d%02d", @broadcast_day); +my $bdfile = sprintf("^%04d-?%02d-?%02d", @broadcast_day); print "looking for files from $bd in RSS Feed\n"; print " -> $RSS_URL\n"; |