aboutsummaryrefslogtreecommitdiff
path: root/timepollhead.rb
diff options
context:
space:
mode:
authorBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-01-29 00:15:15 +0100
committerBenjamin Kellermann <Benjamin.Kellermann@gmx.de>2010-01-29 00:15:15 +0100
commitc7e1f502980212ab166c49ca4b809dd4fdb410c7 (patch)
treedc44f502f4a7980be4f043f1a74a553cbf441d5c /timepollhead.rb
parentae032a8c4c7da5ea77cdc6f99c3a85ae86cbb858 (diff)
locale updated
Diffstat (limited to 'timepollhead.rb')
-rw-r--r--timepollhead.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/timepollhead.rb b/timepollhead.rb
index febcf37..7c295fb 100644
--- a/timepollhead.rb
+++ b/timepollhead.rb
@@ -143,9 +143,9 @@ class TimePollHead
def datenavi val,revision
case val
when MONTHBACK
- navimonth = Date.parse("#{@startdate.strftime("%Y-%m")}-1")-1
+ navimonth = Date.parse("#{@startdate.strftime('%Y-%m')}-1")-1
when MONTHFORWARD
- navimonth = Date.parse("#{@startdate.strftime("%Y-%m")}-1")+31
+ navimonth = Date.parse("#{@startdate.strftime('%Y-%m')}-1")+31
else
raise "Unknown navi value #{val}"
end