mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-28 07:32:00 -04:00
[Components] Use 24 hour format instead of 12 for log file timestamps
This commit is contained in:
parent
8bc6dfe590
commit
15ed4b8da6
@ -111,7 +111,7 @@ string Log::getFilenameTimestamp()
|
||||
time_t rawtime = time(0);
|
||||
struct tm *timeinfo = localtime(&rawtime);
|
||||
char buffer[25];
|
||||
strftime(buffer, 25, "%Y-%m-%d-%I_%M_%S", timeinfo);
|
||||
strftime(buffer, 25, "%Y-%m-%d-%H_%M_%S", timeinfo);
|
||||
std::string timestamp(buffer);
|
||||
return timestamp;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user