Merge pull request #209 from iangreenleaf/monthly_recurring_bug

Fix endlessly repeating monthly recurring todos
This commit is contained in:
Reinier Balt 2013-09-15 00:48:40 -07:00
commit 94114746e7
2 changed files with 40 additions and 14 deletions

View file

@ -489,7 +489,7 @@ class RecurringTodo < ActiveRecord::Base
case self.recurrence_selector
when 0 # specific day of the month
if start.mday > day
if start.mday >= day
# there is no next day n in this month, search in next month
#
# start += n.months