summaryrefslogtreecommitdiff
path: root/paste/util/datetimeutil.py
diff options
context:
space:
mode:
authorcce <devnull@localhost>2006-08-24 18:32:39 +0000
committercce <devnull@localhost>2006-08-24 18:32:39 +0000
commitfd282fd13bd80f17c370e9626025b63d896ae339 (patch)
tree14d010c1d6b630434c79a7fe86d8c06df1044959 /paste/util/datetimeutil.py
parent094fbc3ba0713a8d92b6a20a2befa2115172fdf3 (diff)
downloadpaste-fd282fd13bd80f17c370e9626025b63d896ae339.tar.gz
Diffstat (limited to 'paste/util/datetimeutil.py')
-rw-r--r--paste/util/datetimeutil.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/paste/util/datetimeutil.py b/paste/util/datetimeutil.py
index 182fc6b..57be752 100644
--- a/paste/util/datetimeutil.py
+++ b/paste/util/datetimeutil.py
@@ -216,7 +216,7 @@ def parse_date(val):
now = date.today()
elif chk in _wkdy:
now = date.today()
- idx = list(_wkdy).index(chk)
+ idx = list(_wkdy).index(chk) + 1
while now.isoweekday() != idx:
now += _one_day