mirror of
https://codeberg.org/wownero/p2pool-wow.git
synced 2026-10-17 05:51:27 +02:00
Use UTC time for logging
This commit is contained in:
+2
-2
@@ -275,9 +275,9 @@ NOINLINE void Stream::writeCurrentTime()
|
||||
tm t;
|
||||
|
||||
#ifdef _WIN32
|
||||
localtime_s(&t, &t0);
|
||||
gmtime_s(&t, &t0);
|
||||
#else
|
||||
localtime_r(&t0, &t);
|
||||
gmtime_r(&t0, &t);
|
||||
#endif
|
||||
|
||||
m_numberWidth = 2;
|
||||
|
||||
Reference in New Issue
Block a user