Use local time for both time and date on win
On unix and nacl, both date and time are expressed in local time.
This commit is contained in:
@ -1832,7 +1832,7 @@ String OS_Windows::get_name() {
|
||||
OS::Date OS_Windows::get_date() const {
|
||||
|
||||
SYSTEMTIME systemtime;
|
||||
GetSystemTime(&systemtime);
|
||||
GetLocalTime(&systemtime);
|
||||
Date date;
|
||||
date.day=systemtime.wDay;
|
||||
date.month=Month(systemtime.wMonth);
|
||||
|
||||
Reference in New Issue
Block a user