https://bugs.kde.org/show_bug.cgi?id=381704
Bug ID: 381704
Summary: Astrocalculator, Day Duration module, Day length in
wrong format
Product: kstars
Version: unspecified
Platform: Other
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 106325
--> https://bugs.kde.org/attachment.cgi?id=106325&action=edit
Calculator - KStars
Astrocalculator, Day Duration module, Day length in wrong format:
Instead of format "h:m:s AP t" should be in format "hh:mm:ss"
Eg.
https://docs.kde.org/trunk5/en/kdeedu/kstars/tool-calculator.html#calc-dayduration
Day length: 3:25:06 PM EEST (point in time)
should be
Day length: 15:25:06 (duration / timespan)
Probable cause:
modcalcdaylength.cpp, line 147: daylengthString =
QLocale().toString(daylength);
Possible fix:
daylengthString = daylength.toString("hh:mm:ss");
or
daylengthString = daylength.toString(Qt::ISODate);
--
You are receiving this mail because:
You are watching all bug changes.