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

Waybar clock shows UTC in stead of my local time (CEST) #230

Closed
hanska-slow opened this issue Sep 9, 2024 · 5 comments
Closed

Waybar clock shows UTC in stead of my local time (CEST) #230

hanska-slow opened this issue Sep 9, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@hanska-slow
Copy link

After updating to 2.9.6.1 the waybar clock shows the UTC time (11:07 Mon) instead of my local CEST time as before. The starship prompt line however displays the correct time.

❯ timedatectl
Local time: Mon 2024-09-09 13:07:38 CEST
Universal time: Mon 2024-09-09 11:07:38 UTC
RTC time: Mon 2024-09-09 11:07:39
Time zone: Europe/Amsterdam (CEST, +0200)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no

@hanska-slow hanska-slow added the bug Something isn't working label Sep 9, 2024
@hambosto
Copy link

hambosto commented Sep 9, 2024

the waybar problem is probably not supporting/misreading the latest tzdata, not a dotfiles problem. try downgrading the tzdata package.

wget https://archive.archlinux.org/packages/t/tzdata/tzdata-2024a-2-x86_64.pkg.tar.zst
sudo pacman -U tzdata-2024a-2-x86_64.pkg.tar.zst

and then restart/logout it will solve this problem.

@DWarez
Copy link

DWarez commented Sep 9, 2024

the waybar problem is probably not supporting/misreading the latest tzdata, not a dotfiles problem. try downgrading the tzdata package.

wget https://archive.archlinux.org/packages/t/tzdata/tzdata-2024a-2-x86_64.pkg.tar.zst
sudo pacman -U tzdata-2024a-2-x86_64.pkg.tar.zst

and then restart/logout it will solve this problem.

This solves the issue, thanks 😄

@gnussbaum67
Copy link

make sure to edit /etc/pacman.conf and uncomment "IgnorePkg" and add tzdata to it, or else it will try to update it to the broken update

@ajboni
Copy link

ajboni commented Sep 10, 2024

btw, hyperlock has the same issue and probably others relaying on tzdata
more context:
hyprwm/hyprlock#484
Alexays/Waybar#3584

@hanska-slow
Copy link
Author

Problem solved. Thank you all for your reaction.!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants