mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-27 12:28:48 +01:00
parent
42961e9701
commit
cd09cce7a4
2 changed files with 26 additions and 13 deletions
|
|
@ -127,7 +127,7 @@ module RecurringTodos
|
|||
def get_due_date(previous)
|
||||
case target
|
||||
when 'due_date'
|
||||
get_next_date(previous)
|
||||
get_next_date(previous).at_midnight
|
||||
when 'show_from_date'
|
||||
nil
|
||||
end
|
||||
|
|
@ -141,7 +141,7 @@ module RecurringTodos
|
|||
get_due_date(previous) - show_from_delta.days
|
||||
when 'show_from_date'
|
||||
# Leave due date empty
|
||||
get_next_date(previous)
|
||||
get_next_date(previous).at_midnight
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue