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

NetKDTime: Use UTC based timestamp instead of localtime. #11435

Merged
merged 1 commit into from Jan 31, 2023

Conversation

techydude0713
Copy link
Contributor

From PR #11431

Related to issue 9754.

Since GetEmulatedTime returns a timestamp based off the computer's timezone, it needs to be changed to UTC here.
This allows for the News Channel to produce the correct "Last Updated" time.

This code is based off from a function in Core/Movie.cpp, which uses the same method.

By using a NAND dump with the latest news data, the "last updated" time is accurate to the console's results.

@techydude0713
Copy link
Contributor Author

Buildbot failed when trying to download the repo, could this PR be rebuilt?

@delroth
Copy link
Member

delroth commented Jan 18, 2023

@dolphin-emu-bot rebuild

@phire phire merged commit 12431a8 into dolphin-emu:master Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants