Summary: | Tasklist and the Tooltip displays wrong timezone | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kcalutils | Reporter: | projekt1 <projekt1> |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gjditchfield |
Priority: | NOR | ||
Version: | 5.13.80 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/kcalutils/commit/d0d2c30657becf33e7854a6ebcb5ba26acb33d7f | Version Fixed In: |
Description
projekt1
2016-03-19 10:54:08 UTC
Git commit d0d2c30657becf33e7854a6ebcb5ba26acb33d7f by Allen Winter, on behalf of Glen Ditchfield. Committed on 10/06/2020 at 22:03. Pushed by winterz into branch 'master'. 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 M +2 -1 autotests/CMakeLists.txt A +397 -0 autotests/testtodotooltip.cpp [License: LGPL (v2+)] A +44 -0 autotests/testtodotooltip.h [License: LGPL (v2+)] M +40 -26 src/incidenceformatter.cpp M +2 -2 src/incidenceformatter.h https://invent.kde.org/pim/kcalutils/commit/d0d2c30657becf33e7854a6ebcb5ba26acb33d7f |