diff --git a/simplecpp.cpp b/simplecpp.cpp index 9ff66d8..3e892ff 100755 --- a/simplecpp.cpp +++ b/simplecpp.cpp @@ -3440,7 +3440,7 @@ static std::string getDateDefine(const struct tm *timep) static std::string getTimeDefine(const struct tm *timep) { char buf[] = "??:??:??"; - strftime(buf, sizeof(buf), "%T", timep); + strftime(buf, sizeof(buf), "%H:%M:%S", timep); return std::string("\"").append(buf).append("\""); }