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:
parent
c661e5d1e2
commit
5ab451242d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue