-
Notifications
You must be signed in to change notification settings - Fork 69
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
Shield Steam from timezone mess #214
Comments
So there's a couple cases for TZ
Seems glibc violates its own documentation though and fourth case is allowed to be present without leading ":". This might well be a bug from early ages of glibc that is now an undocumented feature. |
So currently it works so that your host TZ is simply ignored. If you really know what you're doing flatpak --user override --env=TZ=zoneinfo com.valvesoftware.Steam works to set different zoneinfo than what the algorithm gives |
@tomgar do you think that's sufficient or do we need real TZ handling? |
Sorry, I didn't see the "override" in your command. I think it's ok... Maybe you should output a message if you had to forcely mask the TZ env. Linux users are used to see the command line output first before going to look for answers in case there are consequences of such masking. |
By the way, I appreciate the efforts you're taking with this. |
I guess the console output could also have a link to https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions I've been trying to document reasons for that kind of hammer solutions there |
Note current behaviour has the downside that timezone handling isn't dynamic like it's normally supposed to be. You need to restart Steam to change timezone |
Added link, updated FAQ https://github.com/flathub/com.valvesoftware.Steam/wiki/Frequently-asked-questions#im-having-incorrect-timezone-in-steam, closing |
TLDR: Steam timezone handling relies on assumptions about zoneinfo files instead of just UTC deltas being used.
Copy from @tomgar
See #120
Essentially we should in all cases normalize input into something that Steam likes whether or not TZ is given in environment.
The text was updated successfully, but these errors were encountered: