mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-26 02:36:11 +01:00
Revert breaking commits
This reverts the following commits:319d4b00cd403cc1015e37485013a0d08ffb3806
This commit is contained in:
parent
55e28d90a9
commit
1dbef179a7
8 changed files with 81 additions and 301 deletions
|
|
@ -1051,7 +1051,7 @@ end
|
|||
if recurring_todo.todos.active.count == 0
|
||||
|
||||
# check for next todo either from the due date or the show_from date
|
||||
date_to_check = todo.due.nil? ? todo.show_from.localtime : todo.due.localtime
|
||||
date_to_check = todo.due.nil? ? todo.show_from : todo.due
|
||||
|
||||
# if both due and show_from are nil, check for a next todo from now
|
||||
date_to_check = Time.zone.now if date_to_check.nil?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue