Skip to content

Commit cf41113

Browse files
committed
Change %T specifier to %H:%M:%S
1 parent 76df97f commit cf41113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3440,7 +3440,7 @@ static std::string getDateDefine(const struct tm *timep)
34403440
static std::string getTimeDefine(const struct tm *timep)
34413441
{
34423442
char buf[] = "??:??:??";
3443-
strftime(buf, sizeof(buf), "%T", timep);
3443+
strftime(buf, sizeof(buf), "%H:%M:%S", timep);
34443444
return std::string("\"").append(buf).append("\"");
34453445
}
34463446

0 commit comments

Comments
 (0)