mirror of
https://github.com/SChernykh/p2pool.git
synced 2024-08-18 20:48:46 -06:00
Use UTC time for logging
This commit is contained in:
parent
e4be4c1a66
commit
02449bf9f9
@ -275,9 +275,9 @@ NOINLINE void Stream::writeCurrentTime()
|
|||||||
tm t;
|
tm t;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
localtime_s(&t, &t0);
|
gmtime_s(&t, &t0);
|
||||||
#else
|
#else
|
||||||
localtime_r(&t0, &t);
|
gmtime_r(&t0, &t);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
m_numberWidth = 2;
|
m_numberWidth = 2;
|
||||||
|
Loading…
Reference in New Issue
Block a user