[korganizer] [Bug 360730] Tasklist and the Tooltip displays wrong timezone

Allen Winter bugzilla_noreply at kde.org
Wed Jun 10 23:03:54 BST 2020


https://bugs.kde.org/show_bug.cgi?id=360730

Allen Winter <winter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REPORTED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/pim/
                   |                            |kcalutils/commit/d0d2c30657
                   |                            |becf33e7854a6ebcb5ba26acb33
                   |                            |d7f
         Resolution|---                         |FIXED

--- Comment #1 from Allen Winter <winter at kde.org> ---
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

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list