diff options
Diffstat (limited to 'zen/format_unit.cpp')
-rwxr-xr-x | zen/format_unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zen/format_unit.cpp b/zen/format_unit.cpp index 931a29be..3e75278b 100755 --- a/zen/format_unit.cpp +++ b/zen/format_unit.cpp @@ -193,7 +193,7 @@ std::wstring zen::formatUtcToLocalTime(time_t utcTime) auto errorMsg = [&] { return _("Error") + L" (time_t: " + numberTo<std::wstring>(utcTime) + L")"; }; TimeComp loc = getLocalTime(utcTime); - + std::wstring dateString = formatTime<std::wstring>(L"%x %X", loc); return !dateString.empty() ? dateString : errorMsg(); } |