1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-22 14:10:34 +00:00

Do not write timezone to log, not a good idea after all (no standardized format)

This commit is contained in:
Mike Gelfand 2015-01-13 21:09:21 +00:00
parent c661e5d1e2
commit 5ab451242d

View 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);