summaryrefslogtreecommitdiff
path: root/zen/time.h
diff options
context:
space:
mode:
authorB. Stack <bgstack15@gmail.com>2023-05-19 09:24:58 -0400
committerB. Stack <bgstack15@gmail.com>2023-05-19 09:24:58 -0400
commit90bc692185a27f18acb6b029dfaf038e555ef8ff (patch)
treefdb56193bab28d36a4c6723bf847f3aa2ce36a9b /zen/time.h
parentadd upstream 12.2 (diff)
downloadFreeFileSync-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/zen/time.h b/zen/time.h
index ee43566b..aa7df21b 100644
--- a/zen/time.h
+++ b/zen/time.h
@@ -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
bgstack15