mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 15:18:26 -05:00
Remove warning about %e and %T
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ static std::string CurrentTime()
|
||||
struct tm* t = localtime(¤ttime);
|
||||
//return ::CleanString(ctime(¤ttime));
|
||||
char current_time[1024];
|
||||
strftime(current_time, 1000, "%a %b %e %T %Z %Y", t);
|
||||
strftime(current_time, 1000, "%a %b %d %H:%M:%S %Z %Y", t);
|
||||
//std::cout << "Current_Time: " << current_time << std::endl;
|
||||
return ::CleanString(current_time);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user