mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-25 02:49:52 +03:00
Remove obsolete Japan timezone modification
Removes the not used change of internal time by 9 Hours for Japan timezone. Fixes false timestamps reported by softether RPC commands
This commit is contained in:
parent
be0ebb65c1
commit
9e6b5ea3da
@ -2116,7 +2116,7 @@ void UINT64ToSystem(SYSTEMTIME *st, UINT64 sec64)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
sec64 = SafeTime64(sec64 + 32400000ULL);
|
sec64 = SafeTime64(sec64);
|
||||||
tmp64 = sec64 / (UINT64)1000;
|
tmp64 = sec64 / (UINT64)1000;
|
||||||
millisec = (UINT)(sec64 - tmp64 * (UINT64)1000);
|
millisec = (UINT)(sec64 - tmp64 * (UINT64)1000);
|
||||||
sec = (UINT)tmp64;
|
sec = (UINT)tmp64;
|
||||||
@ -2140,7 +2140,7 @@ UINT64 SystemToUINT64(SYSTEMTIME *st)
|
|||||||
sec64 = (UINT64)time * (UINT64)1000;
|
sec64 = (UINT64)time * (UINT64)1000;
|
||||||
sec64 += st->wMilliseconds;
|
sec64 += st->wMilliseconds;
|
||||||
|
|
||||||
return sec64 - 32400000ULL;
|
return sec64;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get local time in UINT64
|
// Get local time in UINT64
|
||||||
|
Loading…
Reference in New Issue
Block a user