https://bugs.kde.org/show_bug.cgi?id=382069
David Edmundson <k...@davidedmundson.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit| |https://commits.kde.org/kco | |readdons/13675d6ab695ba3d1e | |621ae5493f66ee25e5091d Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #1 from David Edmundson <k...@davidedmundson.co.uk> --- Git commit 13675d6ab695ba3d1e621ae5493f66ee25e5091d by David Edmundson. Committed on 06/07/2017 at 20:16. Pushed by davidedmundson into branch 'master'. Fix display of formatDuration with rounding. Summary: When showing the time (1 hour 59.5 minutes) with seconds hidden we want to show "2 hours 0 minutes" not "1 hour 60 minutes". This is fixed by performing the rounding before we split the number of miliseconds into component parts, rather than splitting and then rounding. Related: bug 360681 Test Plan: Updated unit test Subscribers: #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D6537 M +20 -0 autotests/kformattest.cpp M +14 -8 src/lib/util/kformatprivate.cpp https://commits.kde.org/kcoreaddons/13675d6ab695ba3d1e621ae5493f66ee25e5091d -- You are receiving this mail because: You are watching all bug changes.