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

Calendar display issue with the clock module #3132

Open
yeheng282 opened this issue Apr 11, 2024 · 3 comments
Open

Calendar display issue with the clock module #3132

yeheng282 opened this issue Apr 11, 2024 · 3 comments

Comments

@yeheng282
Copy link

yeheng282 commented Apr 11, 2024

On my Arch Linux system, I am encountering the following issue with the calendar display, as shown in the screenshot below.
I don't know if this is a bug or not.

version: 0.10.0
wm: hyprland 0.38.0

image
image_2024-04-10_20-50-04

@yeheng282
Copy link
Author

yeheng282 commented Apr 12, 2024

The problem should be here.

os << Glib::ustring::format((cldWPos_ != WS::LEFT || line == 0) ? std::left : std::right,

@ordy
Copy link
Contributor

ordy commented Apr 13, 2024

Yeah, it looks like other users have reported that same issue as well in #1321

@Yutsuten
Copy link

I was going to open a new issue when I found this, I'll add the message here.


This issue started happening on v0.10.0.

As it wasn't fixed in v0.10.1 and v0.10.2, I feel that this is locale related. My locale is ja_JP.UTF-8. Using Sway.

In clock > calendar > format > weekdays, I have this setting:

{
    "weekdays": "<u><b>{}</b></u>",
}

It renders as:

waybar-no-fix

Now I put this workaround in the setting:

{
    "weekdays": "<u><b>日 月 火 水 木 金 土</b></u>",
}

The workaround renders as:

waybar-with-fix

This is the desired output. I'd like to use the {} syntax, but I'll stick with the workaround until a fix is available.

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

3 participants