Skip to content

Commit 38c26e2

Browse files
committed
z
1 parent 94f0e45 commit 38c26e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/plog/Util.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ namespace plog
9494
inline util::nstring formatTime(const Time* time)
9595
{
9696
struct tm t;
97-
localtime_s(&t, &(time->time));
97+
util::localtime_s(&t, &(time->time));
9898

9999
nostringstream ss;
100100
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

Comments
 (0)