kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit 3faf89d83d31de01eacdb04bc7d3fa7de5423b14
parent afd76ff55d9c3b1e2fb912c36086b0e80dc6f79f
Author: Joris Vink <joris@coders.se>
Date:   Thu, 28 Jun 2018 14:52:49 +0200

use server time.

Diffstat:
src/accesslog.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/accesslog.c b/src/accesslog.c @@ -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,