Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

AppImage stuck in UTC timezone #140

Open
lightbulbjim opened this issue May 15, 2019 · 2 comments
Open

AppImage stuck in UTC timezone #140

lightbulbjim opened this issue May 15, 2019 · 2 comments

Comments

@lightbulbjim
Copy link

I'm running the AppImage on NixOS and all timestamps are in UTC rather than local time. This happens whether I set my hardware clock to local time or UTC (preferred).

@lightbulbjim
Copy link
Author

Sorry, should have mentioned I'm running v0.10.0.

@lightbulbjim
Copy link
Author

lightbulbjim commented May 16, 2019

Found the problem. My $TZ was unset, and so some part of the app (I'm guessing Electron?) was falling back to UTC instead of reading /etc/localtime.

I'm setting $TZ in a wrapper script based on /etc/localtime for now. I'm not sure that it's desirable for $TZ to be set system-wide on a laptop, as it will basically mean changing timezones requires a reboot.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant