Use full precision for total seconds in TimeSpan::toString

This commit is contained in:
Martchus 2017-11-29 23:11:26 +01:00
parent a3192a1113
commit 85f29adb8a
1 changed files with 2 additions and 0 deletions

View File

@ -160,6 +160,8 @@ void TimeSpan::toString(string &result, TimeSpanOutputFormat format, bool fullSe
case TimeSpanOutputFormat::TotalSeconds:
if (fullSeconds) {
s << setprecision(0);
} else {
s << setprecision(10);
}
s << positive.totalSeconds();
break;