<table><tr><td style="">davidedmundson created this revision.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D6537" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When showing the time (1 hour 59.5 minutes) with seconds hidden we<br />
want to show "2 hours 0 minutes" not "1 hour 60 minutes".</p>
<p>This is fixed by performing the rounding before we split the number of<br />
miliseconds into component parts, rather than splitting and then<br />
rounding.</p>
<p>BUG: 360681<br />
BUG: 382069</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Updated unit test</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R244 KCoreAddons</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6537" rel="noreferrer">https://phabricator.kde.org/D6537</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>autotests/kformattest.cpp<br />
src/lib/util/kformatprivate.cpp</div></div></div><br /><div><strong>To: </strong>davidedmundson<br /><strong>Cc: </strong>Frameworks<br /></div>