aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/futures.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/futures.py b/python/futures.py
index d083ac86..8aca1d25 100644
--- a/python/futures.py
+++ b/python/futures.py
@@ -18,7 +18,7 @@ def nextIMMDates(startdate, length = 8):
for y in range(startdate.year, startdate.year + 10):
for m in [3, 6, 9, 12]:
wednesdays = [datetime.date(y, m, i) for i in range(15, 22) \
- if datetime.date(y, m, i).weekday()==2]
+ if datetime.date(y, m, i).weekday()==0]
immdate = wednesdays[0]
if immdate > startdate:
r.append(immdate)