mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-30 10:15:36 +01:00
Issue likely caused by 5ae592ec79
Also see: https://en.cppreference.com/w/cpp/chrono/c/tm
This commit is contained in:
@@ -75,8 +75,8 @@ namespace Platform
|
||||
rct2_date outDate;
|
||||
outDate.day = localTime->tm_mday;
|
||||
outDate.day_of_week = localTime->tm_wday;
|
||||
outDate.month = localTime->tm_mon;
|
||||
outDate.year = localTime->tm_year;
|
||||
outDate.month = localTime->tm_mon + 1;
|
||||
outDate.year = localTime->tm_year + 1900;
|
||||
return outDate;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user