]> granicus.if.org Git - transmission/commitdiff
Do not write timezone to log, not a good idea after all (no standardized format)
authorMike Gelfand <mikedld@mikedld.com>
Tue, 13 Jan 2015 21:09:21 +0000 (21:09 +0000)
committerMike Gelfand <mikedld@mikedld.com>
Tue, 13 Jan 2015 21:09:21 +0000 (21:09 +0000)
libtransmission/log.c

index 5f55ab6f0258fc91580527ac9b92c9854abb0779..c50bbacb700579c8c5386ae7d0ddaabe62bf921b 100644 (file)
@@ -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);