From: Mark Wooding Date: Fri, 5 Feb 2016 01:07:59 +0000 (+0000) Subject: fwd.c (fw_log): Report the timezone in log messages. X-Git-Tag: 1.3.7~7 X-Git-Url: https://git.distorted.org.uk/~mdw/fwd/commitdiff_plain/367d81afe3d72b6bc1519d2ae2187a6535370025 fwd.c (fw_log): Report the timezone in log messages. --- diff --git a/fwd.c b/fwd.c index b621f45..d086ed3 100644 --- a/fwd.c +++ b/fwd.c @@ -245,7 +245,7 @@ void fw_log(time_t t, const char *fmt, ...) t = time(0); tm = localtime(&t); DENSURE(&d, 64); - d.len += strftime(d.buf, d.sz, "%Y-%m-%d %H:%M:%S ", tm); + d.len += strftime(d.buf, d.sz, "%Y-%m-%d %H:%M:%S %z ", tm); va_start(ap, fmt); dstr_vputf(&d, fmt, &ap); va_end(ap);