mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-18 05:08:09 +01:00
fix for actions that are due today were marked overdue in the ical calendar feed
This commit is contained in:
parent
f5c50d367e
commit
ddfc0e5e90
1 changed files with 2 additions and 2 deletions
|
|
@ -7,7 +7,7 @@ X-WR-CALNAME:Tracks
|
||||||
<% for todo in @due_all
|
<% for todo in @due_all
|
||||||
due_date = todo.due
|
due_date = todo.due
|
||||||
overdue_text = ""
|
overdue_text = ""
|
||||||
if due_date < Time.zone.now
|
if due_date.at_midnight < Time.zone.now.at_midnight
|
||||||
due_date = Time.zone.now
|
due_date = Time.zone.now
|
||||||
overdue_text = "Overdue: "
|
overdue_text = "Overdue: "
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue