1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-12 13:20:55 +00:00

Add Time singleton

This commit is contained in:
Aaron Franke
2021-05-24 07:54:05 -04:00
parent e82a1113ab
commit f64fea1b23
23 changed files with 1012 additions and 388 deletions

View File

@@ -195,8 +195,8 @@ OS::Time OS_Unix::get_time(bool utc) const {
}
Time ret;
ret.hour = lt.tm_hour;
ret.min = lt.tm_min;
ret.sec = lt.tm_sec;
ret.minute = lt.tm_min;
ret.second = lt.tm_sec;
get_time_zone_info();
return ret;
}