summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2013-07-06 01:19:04 +0200
committerJonas <dr@jones.dk>2013-07-06 01:19:04 +0200
commiteca3b2e02ad3110a42a8e4acda7ab23d61e3886b (patch)
tree044acfdeb4195d3057f3763ec15c605e77b9a433
parent0ed200d69ab687c62d883ed681f9ad72594a9cf1 (diff)
Extend weekday ranges.
-rwxr-xr-xbin/rdf2hours2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/rdf2hours b/bin/rdf2hours
index 32b2f86..340494c 100755
--- a/bin/rdf2hours
+++ b/bin/rdf2hours
@@ -332,6 +332,8 @@ sub specdescribe {
$weekdays =~ s/1, 2, 3, 4, 5/mandag-fredag/;
$weekdays =~ s/1, 2, 3, 4/mandag-torsdag/;
$weekdays =~ s/2, 3, 4, 5, 6, 7/tirsdag-søndag/;
+ $weekdays =~ s/2, 3, 4, 5, 6/tirsdag-lørdag/;
+ $weekdays =~ s/2, 3, 4, 5/tirsdag-fredag/;
$weekdays =~ s/3, 4, 5/onsdag-fredag/;
$weekdays =~ s/^2, 3, 4(|, [^5].*)$/tirsdag-torsdag$1/;
$weekdays =~ s/^(|.*?[\d^5], |.*?(?!fredag, ))6, 7(.*)$/$1weekend$2/;