forked from teamnwah/openmw-tes3coop
[Components] Use 24 hour format instead of 12 for log file timestamps
This commit is contained in:
parent
8bc6dfe590
commit
15ed4b8da6
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue