Commit a275e0cd authored by Jasem Mutlaq's avatar Jasem Mutlaq

Fix day duration format.

BUGS:381704
FIXED-IN:17.08
parent 5bf07b27
......@@ -144,7 +144,8 @@ void modCalcDayLength::updateAlmanac(const QDate &d, GeoLocation *geo)
stTimeString = QLocale().toString(stTime);
QTime daylength = lengthOfDay(ssTime, srTime);
daylengthString = QLocale().toString(daylength);
//daylengthString = QLocale().toString(daylength);
daylengthString = QLocale().toString(daylength, "hh:mm:ss");
//...but not always!
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment