We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b6f6eb commit 1c3b2a7Copy full SHA for 1c3b2a7
1 file changed
src/logger.cpp
@@ -36,7 +36,7 @@ void Logger::pushTimestamp(std::ostream& str) const {
36
auto timeT = std::chrono::system_clock::to_time_t(currentTime);
37
38
char buffer [84];
39
- auto leng = strftime(buffer, 80, "%Y-%m-%d %H:%02M:%S", localtime(&timeT));
+ auto leng = strftime(buffer, 80, "%Y-%m-%d %H:%M:%S", localtime(&timeT));
40
sprintf(&buffer[leng-1], ".%03lld", millisSinceEpoch - timeT*1000);
41
42
str << "["sv << buffer << "] "sv;
0 commit comments