Skip to content
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

clock module ignores TZ environment variable #3125

Closed
hvenev opened this issue Apr 8, 2024 · 2 comments
Closed

clock module ignores TZ environment variable #3125

hvenev opened this issue Apr 8, 2024 · 2 comments

Comments

@hvenev
Copy link
Contributor

hvenev commented Apr 8, 2024

On glibc and musl the TZ environment variable overrides the system-wide timezone configured in /etc/localtime. The default behavior of the clock module when a timezone isn't set should probably try to match that.

@LukashonakV
Copy link
Contributor

Hi @hvenev , please provide more details. Example, how it should be, how it is, screenshots, etc.

@hvenev
Copy link
Contributor Author

hvenev commented Apr 8, 2024

@LukashonakV

waybar launched with TZ=Europe/Sofia, /etc/localtime is a symlink to /usr/share/zoneinfo/UTC.

How it is:
bad

How it should be:
good

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

No branches or pull requests

2 participants