When I create a to-do for all day with no start date but due date set to, say, January 2, 2020, the event shows up due on January 1, 2020. I have to edit the event and change the date again to set the correct date. It works after that.
A possibly relevant merge request was started @ https://invent.kde.org/pim/eventviews/-/merge_requests/1
A possibly relevant merge request was started @ https://invent.kde.org/pim/eventviews/-/merge_requests/2
Git commit 06b1cede77c8c62c24281935bf404b62f06d1c94 by Glen Ditchfield.
Committed on 18/06/2020 at 16:06.
Pushed by gditchfield into branch 'release/20.04'.
Display all-day to-dos on their due date in the agenda view
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.
Related: bug 338302
M +4 -6 src/agenda/agendaview.cpp