You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
add ()
Sorry, firt time I put it but had no compiled for check.
This commit is contained in:
@@ -242,7 +242,7 @@ OS::Date OS_Unix::get_date(bool utc) const {
|
||||
lt=localtime(&t);
|
||||
Date ret;
|
||||
ret.year=1900+lt->tm_year;
|
||||
ret.month=(Month)lt->tm_mon + 1;
|
||||
ret.month=(Month)(lt->tm_mon + 1);
|
||||
ret.day=lt->tm_mday;
|
||||
ret.weekday=(Weekday)lt->tm_wday;
|
||||
ret.dst=lt->tm_isdst;
|
||||
|
||||
Reference in New Issue
Block a user