mirror of
https://github.com/TracksApp/tracks.git
synced 2026-03-03 11:30:15 +01:00
fix regression in recurring todos
This commit is contained in:
parent
a31c0a7a5d
commit
62bc47b26b
2 changed files with 2 additions and 5 deletions
|
|
@ -489,7 +489,7 @@ class RecurringTodo < ActiveRecord::Base
|
|||
|
||||
case self.recurrence_selector
|
||||
when 0 # specific day of the month
|
||||
if start.mday >= day
|
||||
if (previous && start.mday >= day) || (previous.nil? && start.mday > day)
|
||||
# there is no next day n in this month, search in next month
|
||||
#
|
||||
# start += n.months
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue