We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94f0e45 commit 38c26e2Copy full SHA for 38c26e2
include/plog/Util.h
@@ -94,7 +94,7 @@ namespace plog
94
inline util::nstring formatTime(const Time* time)
95
{
96
struct tm t;
97
- localtime_s(&t, &(time->time));
+ util::localtime_s(&t, &(time->time));
98
99
nostringstream ss;
100
ss << t.tm_year + 1900 << "-" << std::setfill(PLOG_NSTR('0')) << std::setw(2) << t.tm_mon + 1 << PLOG_NSTR("-") << std::setfill(PLOG_NSTR('0')) << std::setw(2) << t.tm_mday << PLOG_NSTR(" ");
0 commit comments