-
-
Notifications
You must be signed in to change notification settings - Fork 724
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 shows wrong week numbers #2331
Comments
Hi @J0nnyMak0 , can you please share additional info:
|
Wed 19 Jul 2023 10:13:02 AM CDT
en_US.UTF-8
Waybar v0.9.19-39-g1e2b9cb5 (branch 'master')
Linux jonmhome 6.4.3-arch1-2 #1 SMP PREEMPT_DYNAMIC Sat, 15 Jul 2023 19:25:49 +0000 x86_64 GNU/Linux
|
I reproduced the same issue in my machine. Need to take some time to clarify how your case should be look like. Now I suspect 3-rd party library is used by waybar calendar provides not correct result. Utility |
So... issue is found. But... needs to think now how to handle. It appears due to calendar for it's need uses date::sys_days typedef... which represents time point in UTC... Where there's another time point structure date::local_days which represents time point associated with timezone... I guess I'll provide new implementation.... Will notify once it's done. |
Hi, it seems I have a similiar issue. January started on Monday in 2024 here in Germany. My calendar (module waybar-clock tooltip) shows a week-number of My module config:
And the outputs asked for by @LukashonakV (with a newline between)
Cheers |
Update: Sorry, I missed the right configuration in the documentation. @randomn4me It should be See #2827 |
I'm using the default calendar format from
man waybar-clock
and I think the week numbers are wrong. Unless I'm missing something, the week number of the last week of the month should repeat at the first week of the following month (unless the first day of the month is a Sunday). However, currently the week number of the first and second weeks of the month repeat (if month doesn't start on a Sunday) and every month gets a new first week number.The text was updated successfully, but these errors were encountered: