Replies: 2 comments
|
BTW, I also tried restarting, and sudo pacman -Syu, but the problem still exists |
0 replies
|
I'm having this problem as well, on bluefin (fedora silverblue). I think it just started happening in the last 5-6 weeks, and I'm also in the America/Vancouver timezone. Hmm. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi.
I recently flew to Vancouver and switched to America/Vancouver. However, I noticed that the time displayed by Waybar is always 1hour slower.
What I found so far:
I found that waybar uses std::chrono to retrieve the current time, so I tried to run the following code to debug:
I think this is a cpp library issue. Even if I explicitly set the timezone to be America/Vancouver, zoned_time still returns a time 1hour slower than the correct time.
I tried to use std::time directly, and it displayed the correct result.
I am not sure whether this is a Waybar bug or a system setting issue, so I posted my question in the discussions.
So, I'm wondering how I can make Waybar display the correct time?
All reactions