diff options
author | B. Stack <bgstack15@gmail.com> | 2023-05-19 09:24:58 -0400 |
---|---|---|
committer | B. Stack <bgstack15@gmail.com> | 2023-05-19 09:24:58 -0400 |
commit | 90bc692185a27f18acb6b029dfaf038e555ef8ff (patch) | |
tree | fdb56193bab28d36a4c6723bf847f3aa2ce36a9b /zen/time.h | |
parent | add upstream 12.2 (diff) | |
download | FreeFileSync-12.3.tar.gz FreeFileSync-12.3.tar.bz2 FreeFileSync-12.3.zip |
add upstream 12.312.3
Diffstat (limited to 'zen/time.h')
-rw-r--r-- | zen/time.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -391,7 +391,7 @@ TimeComp parseTime(const String& format, const String2& str) inline Zstring formatTimeSpan(int64_t timeInSec, bool hourOptional) { - Zstring timespanStr; + Zstring timespanStr; if (timeInSec < 0) { @@ -409,7 +409,7 @@ Zstring formatTimeSpan(int64_t timeInSec, bool hourOptional) timeInSec -= days * secsPerDay; timespanStr += numberTo<Zstring>(days) + Zstr("."); //don't need zen::formatNumber(), do we? } - + //format time span as if absolute UTC time const TimeComp& tc = getUtcTime(timeInSec); //returns TimeComp() on error timespanStr += formatTime(timeSpanFmt, tc); //returns empty string on error |