1.1 --- a/RecurrenceSupport.py Mon Jul 15 00:00:00 2013 +0200
1.2 +++ b/RecurrenceSupport.py Mon Jul 15 00:06:51 2013 +0200
1.3 @@ -310,6 +310,7 @@
1.4
1.5 if word in month_labels:
1.6 current.add_details("the", word, month_labels.index(word) + 1, "month", intervals["month"])
1.7 + words.want()
1.8
1.9 # Handle the qualifier and interval.
1.10
2.1 --- a/tests/test_recurrence.py Mon Jul 15 00:00:00 2013 +0200
2.2 +++ b/tests/test_recurrence.py Mon Jul 15 00:06:51 2013 +0200
2.3 @@ -44,6 +44,14 @@
2.4 print s
2.5 print "->", getRecurrence(s)
2.6
2.7 +s = "the second day of every other month from January of 2012"
2.8 +print s
2.9 +print "->", getRecurrence(s)
2.10 +
2.11 +s = "the second day of every other month from 2012-01"
2.12 +print s
2.13 +print "->", getRecurrence(s)
2.14 +
2.15 s = "the second hour in the second day in the second month of every year"
2.16 print s
2.17 print "->", getRecurrence(s)