https://bugs.kde.org/show_bug.cgi?id=397008
Bug ID: 397008 Summary: KFormat::formatDuration returns different results with ms large Product: frameworks-kcoreaddons Version: 5.48.0 Platform: Archlinux Packages OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: general Assignee: mp...@kde.org Reporter: safa1996alful...@gmail.com CC: kdelibs-b...@kde.org Target Milestone: --- When you use KFormat::formatDuration with a very large duration, and you pass an option (ex. ShowMilliseconds), the returned value is different than if it was without the option. Python example (same issue in C++ and QMl): from PyKF5 import KCoreAddons INT = 9999999999 mformat = KCoreAddons.KFormat() print("KFormat.ShowMilliseconds: {}".format(mformat.formatDuration(INT, KCoreAddons.KFormat.ShowMilliseconds))) print("No options: {}".format(mformat.formatDuration(INT))) >> KFormat.ShowMilliseconds: 2777:46:39.999 >> No options: 391:41:05 -- You are receiving this mail because: You are watching all bug changes.