irccloud-desktop icon indicating copy to clipboard operation
irccloud-desktop copied to clipboard

AppImage stuck in UTC timezone

Open lightbulbjim opened this issue 5 years ago • 2 comments

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 avatar May 15 '19 21:05 lightbulbjim

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

lightbulbjim avatar May 15 '19 23:05 lightbulbjim

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.

lightbulbjim avatar May 16 '19 01:05 lightbulbjim