lwsl_timestamp month off by one
This commit is contained in:
parent
0f222cdc77
commit
9694e5194c
1 changed files with 1 additions and 1 deletions
|
@ -1157,7 +1157,7 @@ lwsl_timestamp(int level, char *p, int len)
|
|||
n = snprintf(p, len,
|
||||
"[%04d/%02d/%02d %02d:%02d:%02d:%04d] %s: ",
|
||||
ptm->tm_year + 1900,
|
||||
ptm->tm_mon,
|
||||
ptm->tm_mon + 1,
|
||||
ptm->tm_mday,
|
||||
ptm->tm_hour,
|
||||
ptm->tm_min,
|
||||
|
|
Loading…
Add table
Reference in a new issue