Commit 2e291e93 authored by Pavel Vainerman's avatar Pavel Vainerman

(DebugLog): minor fix

parent 33316397
......@@ -171,6 +171,8 @@ std::ostream& DebugStream::printDate(Debug::type t, char brk) noexcept
{
if(dt && t)
{
uniset::ios_fmt_restorer ifs(*this);
std::time_t tv = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
std::tm tms = *std::localtime(&tv);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment