summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-11-12 14:56:59 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-11-12 14:56:59 (GMT)
commit9fefda185b180ddb950c11319be790702d03bc2f (patch)
treeeed80cd00686b2bf1f8e807cbd0eab0c1ad44a0f
parent1e7bc60785911882f44e4eb4033b1e553be8b378 (diff)
Werkstatt Radio is now on Saturday
-rw-r--r--debian/changelog6
-rwxr-xr-xrhautoimport-wr4
2 files changed, 8 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog
index bed77e6..d364ca5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+rhautoimport (24-1) unstable; urgency=medium
+
+ * Werkstatt Radio is now on Saturday
+
+ -- Christian Pointner <equinox@spreadspace.org> Sat, 12 Nov 2016 15:56:27 +0100
+
rhautoimport (23-1) unstable; urgency=medium
* fix btl importer
diff --git a/rhautoimport-wr b/rhautoimport-wr
index 21dbcdc..89f5480 100755
--- a/rhautoimport-wr
+++ b/rhautoimport-wr
@@ -62,12 +62,12 @@ my @today = Date::Calc::Today();
print "today: " . Date::Calc::Date_to_Text(@today) . " (Week: " . $curweek . ")\n";
my @import_date = Date::Calc::Standard_to_Business(@today);
-$import_date[2] = 3;
+$import_date[2] = 6;
@import_date = Date::Calc::Business_to_Standard(@import_date);
my $dow = Date::Calc::Day_of_Week(@today);
if($curweek == 1 || $curweek == 3) {
- if($dow > 3) {
+ if($dow > 6) {
@import_date = Date::Calc::Add_Delta_Days(@import_date, 14);
}
} else {