Skip to content

Commit 93fd4d3

Browse files
committed
time
1 parent 7151a2d commit 93fd4d3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simplecpp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3236,7 +3236,7 @@ static std::string getDateDefine(const struct tm *timep)
32363236
static std::string getTimeDefine(const struct tm *timep)
32373237
{
32383238
char buf[] = "??:??:??";
3239-
strftime(buf, sizeof(buf), "%T", timep);
3239+
strftime(buf, sizeof(buf), "%H:%M:%S", timep);
32403240
return std::string("\"").append(buf).append("\"");
32413241
}
32423242

0 commit comments

Comments
 (0)