use server time.

This commit is contained in:
Joris Vink 2018-06-28 14:52:49 +02:00
parent afd76ff55d
commit 3faf89d83d
1 changed files with 1 additions and 1 deletions

View File

@ -106,7 +106,7 @@ kore_accesslog_write(const void *data, u_int32_t len)
(void)kore_strlcpy(addr, "-", sizeof(addr));
time(&now);
tm = gmtime(&now);
tm = localtime(&now);
(void)strftime(tbuf, sizeof(tbuf), "%d/%b/%Y:%H:%M:%S %z", tm);
l = asprintf(&buf,