From: Mike Gelfand Date: Tue, 13 Jan 2015 21:09:21 +0000 (+0000) Subject: Do not write timezone to log, not a good idea after all (no standardized format) X-Git-Tag: 2.90~242 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ab451242d277c35b3b842fd382da021af6d3053;p=transmission Do not write timezone to log, not a good idea after all (no standardized format) --- diff --git a/libtransmission/log.c b/libtransmission/log.c index 5f55ab6f0..c50bbacb7 100644 --- a/libtransmission/log.c +++ b/libtransmission/log.c @@ -151,7 +151,7 @@ tr_logGetTimeStr (char * buf, int buflen) seconds = tv.tv_sec; tr_localtime_r (&seconds, &now_tm); - strftime (tmp, sizeof (tmp), "%Y-%m-%d %H:%M:%S.%%03d %Z", &now_tm); + strftime (tmp, sizeof (tmp), "%Y-%m-%d %H:%M:%S.%%03d", &now_tm); milliseconds = tv.tv_usec / 1000; tr_snprintf (buf, buflen, tmp, milliseconds);