prasanthrangan / hyprdots

// Aesthetic, dynamic and minimal dots for Arch hyprland
GNU General Public License v3.0
7.39k stars 867 forks source link

[Bug]: Waybar clock #1817

Closed TheyCallMeSecond closed 1 month ago

TheyCallMeSecond commented 2 months ago

now we have problem with waybar clock, clock showing UTC timezone instead of local time zone its because tzdata package update you can downgrade tzdata to 2024a-2 version to temporary fix the issue

JaredKIso commented 2 months ago

I appreciate this, I was just trying to figure out what was going on with that. It was driving me crazy

pratyushkashyyy commented 1 month ago

any idea on how to degrade or any steps ?

sharjeelmazhar commented 1 month ago

Solution to Downgrade tzdata Package

To resolve the issue with the Waybar clock showing the wrong timezone, you can downgrade the tzdata package to version 2024a-2. Follow these steps:

  1. Install the downgrade tool using your AUR helper (paru or yay):

    paru -S downgrade

    or

    yay -S downgrade
  2. Use the downgrade tool to select and install the specific version of tzdata:

    sudo downgrade tzdata
  3. From the list, select version 2024a-2. This will downgrade the package.

  4. After the downgrade, the system will ask if you'd like to add tzdata to the ignore list in the Pacman configuration (/etc/pacman.conf). This will prevent tzdata from being upgraded the next time you run:

    sudo pacman -Syu
    • Press Y and hit Enter to add tzdata to the ignore list.
  5. Once the bug is fixed upstream, you can remove tzdata from the ignore list by editing the pacman.conf file, and it will be upgraded automatically with your next system update.


I hope this helps!

kRHYME7 commented 1 month ago

you can remove tzdata from the ignore list by editing the pacman.conf file,

or running yay -Sy tzdata this command removes the ignored package from the pacman.conf.

sharjeelmazhar commented 1 month ago

yay -Sy tzdata

will running this remove tzdata from the ignore package variable inside the conf file or will it ignore it for this specific command only this time we run this specific command with tag -Sy ?

kRHYME7 commented 1 month ago

it removes it.

I tried this on dolphin last time.

thyeun commented 1 month ago

Recently most use command is downgrade.

rubiin commented 1 month ago

And here I was thinking i messed up my computer time lol

thyeun commented 1 month ago

Hi All, update gcc to latest version will solve this issue.

rubiin commented 1 month ago

@kRHYME7 can be marked as solved