lwsl_timestamp month off by one
This commit is contained in:
parent
d6fba75433
commit
d3c33936b5
1 changed files with 1 additions and 1 deletions
|
@ -1173,7 +1173,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