summaryrefslogtreecommitdiff
path: root/zen/time.h
diff options
context:
space:
mode:
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