forked from teamnwah/openmw-tes3coop
Fix month in logger
This commit is contained in:
parent
a36c20eaae
commit
535731c018
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ const char* getTime()
|
|||
struct tm *tm = localtime(&t);
|
||||
static char result[20];
|
||||
sprintf(result, "%.4d-%.2d-%.2d %.2d:%.2d:%.2d",
|
||||
1900 + tm->tm_year, tm->tm_mon, tm->tm_mday,
|
||||
1900 + tm->tm_year, tm->tm_mon + 1, tm->tm_mday,
|
||||
tm->tm_hour, tm->tm_min, tm->tm_sec);
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue