Locale not applied to start day of the week in clock/calendar despite :L
(Arch Linux, installed via pacman, version 0.14.0-2)
So, I tried to apply my locale (de_DE.UTF-8) to the clock module to get monday as my starting day of the week (This is the sole reason for the whole locale thing being relevant for me)
This is my config:
"clock" : {
"format": "{:L%Y-%m-%d %H:%M}",
"tooltip-format": "<tt><small>{calendar}</small></tt>",
"timezone": "Europe/Berlin",
"locale": "de_DE.UTF-8",
"calendar" : {
"mode": "month",
"format": {
"today": "<span color='#ffcc66'><b>{}</b></span>"
}
}
}
as you see the locale is fine and L was added to the start of the format string. Also does not work without L
I still get:
[2025-10-14 11:54:22.808] [warning] module clock: Disabling module "clock", locale::facet::_S_create_c_locale name not valid
Am I doing something really stupid?
"locale": "de_DE.UTF-8",
If you still have not figured it out, you need to generate locale in order for it to work.
First you need to uncomment de_DE.UTF-8 UTF-8 line in /etc/locale.gen, then run sudo locale-gen command. It should print out something like
Generating locales...
de_DE.UTF-8... done
After this, "locale": "de_DE.UTF-8" should work without any problems (of course after you restart waybar)