Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OS time functions not implemented #21

Open
Tarudahat opened this issue Nov 15, 2020 · 1 comment
Open

OS time functions not implemented #21

Tarudahat opened this issue Nov 15, 2020 · 1 comment

Comments

@Tarudahat
Copy link

Godot version:
3.2.1-windows

Issue description:
OS functions like "OS.get_system_time_secs()"& "OS.get_system_time_secs()"
don't seem to be implemented. There might be more but I havn't tested it.

Temporary fix:
Cap fps and count the frames to get a sec.

@Stary2001
Copy link
Owner

Whoops - seems I missed this when sorting out the release.
That makes sense, as it seems get_date/get_time/get_time_zone_info are still stubbed out.

OS::Date OS_Switch::get_date(bool local) const {
	return OS::Date();
}

OS::Time OS_Switch::get_time(bool local) const {
	return OS::Time();
}

OS::TimeZoneInfo OS_Switch::get_time_zone_info() const {
	return OS::TimeZoneInfo();
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants