Skip to content

Display all-day to-dos on their due date in the agenda view

Glen Ditchfield requested to merge (removed):stablefix388302 into release/20.04

(Port to stable, as requested in MR !1)

The agenda view displays non-recurring all-day to-dos that are not overdue on the day before their due date. Recurring to-dos and non-all-day to-dos are displayed correctly, on their due dates.

displayIncidence() deliberately displays to-dos due at midnight in the event view at the end of the previous day, but that should not be done for all-day to-dos. This patch adds an all-day check.

The patch opportunistically removes two setTime() calls that duplicate work done in initializers, and tidies a third.

BUG: 388302

BUG: 417982

Edited by Glen Ditchfield

Merge request reports