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

Fix UTC offset calculation #890

Merged
merged 4 commits into from
Jul 5, 2023
Merged

Fix UTC offset calculation #890

merged 4 commits into from
Jul 5, 2023

Conversation

EpicUsername12
Copy link
Contributor

If you're ahead of UTC you should have a positive value, if you're behind you should have a negative value, so i inverted the difference calculation.

UTC+2 now returns a 7200 second offset, not -7200.

If you're ahead of UTC you should have a positive value, if you're behind you should have a negative value, so i inverted the difference calculation.

UTC+2 now returns a 7200 second offset, not -7200.
@Exzap Exzap merged commit ea86c77 into cemu-project:main Jul 5, 2023
5 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants