RetroArch icon indicating copy to clipboard operation
RetroArch copied to clipboard

RetroArch timezone uses UTC instead of system-reported time (UTC -8)

Open Jay2645 opened this issue 5 years ago • 3 comments

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

Jay2645 avatar Feb 23 '20 18:02 Jay2645

This is not happening for me on Ubuntu 18.04... I'm getting it in EST, as expected.

RobLoach avatar Feb 25 '20 20:02 RobLoach

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.

gouchi avatar Mar 04 '20 20:03 gouchi

In my case, it only happens with the Vulkan driver, but not the OpenGL one

pouar avatar Jun 13 '20 23:06 pouar