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 shows UTC time instead of localtime after updating to tzdata-2025a #3891

Open
camj2 opened this issue Jan 17, 2025 · 6 comments
Open
Labels

Comments

@camj2
Copy link

camj2 commented Jan 17, 2025

I updated to tzdata-2025a and now Waybar displays time in UTC instead of localtime.

I have /etc/localtime linked to /usr/share/zoneinfo/America/Phoenix. No other changes have been made. Not sure why this happens after the recent tzdata update.

@github-actions github-actions bot added the clock label Jan 17, 2025
@vttfreebsd
Copy link

Hi,

I have the same problem. The log file shows:
[2025-01-18 11:44:48.557] [warning] Timezone: Europe/Paris. tzdb: cannot locate zone: Europe/Paris

vTT

@bitterhalt
Copy link

bitterhalt commented Jan 18, 2025

This is not first time when tzdata brokes clock.

"Fix"

},
 "clock": {
    "format": "{:%b, %d %H:%M}",
    "tooltip": false,
    "on-click": "~/.local/bin/noti_cal",
  },
  // "in case tzdata update fucks up your clock",
  "custom/clock": {
    "format": "{}",
    "tooltip": false,
    "exec": "date +'%b, %d %H:%M'",
    "interval": 60,
    "on-click": "~/.local/bin/noti_cal",
  },

@eoli3n
Copy link

eoli3n commented Jan 19, 2025

same here on voidlinux

➜ xbps-query -l | grep -E 'tzdata| gcc|Waybar'
ii Waybar-0.11.0_2                                             Polybar-like Wayland Bar for Sway and Wlroots based compositors
ii gcc-13.2.0_2                                                GNU Compiler Collection
ii tzdata-2025a_1                                              Time zone and daylight-saving time data

➜ file /etc/localtime
/etc/localtime: symbolic link to /usr/share/zoneinfo/Europe/Paris

In debug logs I get that line too

[2025-01-19 17:43:37.844] [warning] Timezone: Europe/Paris. tzdb: cannot locate zone: Europe/Paris

@jwakely
Copy link

jwakely commented Jan 19, 2025

You need an updated gcc

@eoli3n
Copy link

eoli3n commented Jan 19, 2025

@camj2
Copy link
Author

camj2 commented Jan 21, 2025

Fixed: void-linux/void-packages@2a518f7

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

No branches or pull requests

5 participants