RetroArch timezone uses UTC instead of system-reported time (UTC -8)
First and foremost consider this:
- Only RetroArch bugs should be filed here. Not core bugs or game bugs
- This is not a forum or a help section, this is strictly developer oriented
Description
The system clock for RetroArch seems to be set to UTC instead of using the timezone reported by the OS.
Expected behavior
The clock in the top right corner and used in games like Pokemon should match the current local time reported by the OS (UTC -8).
Actual behavior
The clock in the top right corner and used in games like Pokemon is set to UTC.
Version/Commit
You can find this information under Information/System Information
- RetroArch: 9e25601a56
Environment information
- OS: Arch Linux
This is not happening for me on Ubuntu 18.04... I'm getting it in EST, as expected.
I can't reproduce your issue running also Arch Linux using 9e25601 or latest commit.
We are using setlocale(LC_TIME, ""); Source man for the current locale.
I presume timedatectl output is alright.
In my case, it only happens with the Vulkan driver, but not the OpenGL one