Improve tool tips for to-dos

Authored by gjditchfield on Jun 10 2020, 10:03 PM.

Description

Improve tool tips for to-dos

There are several problems with tool tips for recurring multi-day to-dos:

  • The due date is wrong.
  • The start date is just a date, without a time.
  • The to-do is displayed in the agenda view on the start date.
  • The agenda view passes the start date down to dateRangeText(), which expects the due date.
  • dateRangeText() calls getNextDateTime() expecting a due date, but getNextDateTime() returns start dates.

This patch adjusts dateRangeText() to accept any date between the to-do's
start and end dates, adjusts the tool tip contents, and incidentally fixes
BUG: 360730

Details

Committed
winterzJun 10 2020, 10:03 PM
Parents
R173:0e01a886dd47: Use isEmpty here
Branches
Unknown
Tags
Unknown
References
refs/keep-around/d0d2c30657becf33e7854a6ebcb5ba26acb33d7f