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

Kristen McWilliam <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
                   |ktimetracker/-/commit/31e3b |ktimetracker/-/commit/3335e
                   |cc4e0842e896a43f6087a04bc55 |3f7e6766657fade8ec893410f7a
                   |ace0a6dc                    |f82d4086

--- Comment #4 from Kristen McWilliam <[email protected]> ---
Git commit 3335e3f7e6766657fade8ec893410f7af82d4086 by Kristen McWilliam, on
behalf of Łukasz Żarnowiecki.
Committed on 26/02/2026 at 19:13.
Pushed by merritt into branch 'master'.

Fix rounding problems in refresh function

Each event duration in ics file is written in seconds and converted to
minutes in a loop.  This means, for each event we loose precision.
Having lots of those can add up, hence the problem user reported.

>From bug report:
 Open the event log in LibreOffice calc. Create a column calculating the
 difference between End and Start, and sum this column. Note that the
 sum is 18:04
To verify that claim, I wrote script that reads ics file and sums up
duration.  Turns out for that particular file it was 18 hours and 3,33
minutes - 18:03

M  +9    -5    src/model/projectmodel.cpp

https://invent.kde.org/pim/ktimetracker/-/commit/3335e3f7e6766657fade8ec893410f7af82d4086

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to