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

In calendar weeks formatting, the ISO "weeks" tag {:%V} has no effect #3502

Open
tjavdar opened this issue Aug 4, 2024 · 0 comments
Open

Comments

@tjavdar
Copy link

tjavdar commented Aug 4, 2024

In format the tag {:%V}is admissible but has no effect. That is, the readout of week numbers on the bar and the pop-up calendar differ by 1:

  "clock": {
      "format": "{:%a, %b %d, v.%V | %H:%M}",
      "calendar": {
         "locale": "sv_SE",
         "format": {
           "weeks": "<span color='#99ffdd'><b>{:%V}</b></
         },
       },
  }

This config on:
waybar 0.10.4-2 (Arch)
Linux i5 6.10.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 27 Jul 2024 16:49:55 +0000 x86_64 GNU/Linux
LANG=en_US.UTF-8

IMHO, the readout of "weeks" for {:%U}, {:%W} and {:%V} should match the one from the corresponding shell command:

   `date +%U`
   `date +%V`
   `date +%W`
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

1 participant