Allow choosing the first day of the week in the calendar
Feature Description
Currently, the calendar always shows Sunday as the first day of the week. Allow the user to select a different first day of the week.
Use Case
I'm used to having Monday as the first day of the week and this constantly throws me off.
Compositor
Is this feature specific to one compositor?
- [x] All compositors
- [ ] niri
- [ ] Hyprland
Proposed Solution
It would be convenient if the first day of the week were to be derived from the locale and if it could still possible to manually override it to whatever day the use prefers. Probably even just allowing to choose between Sunday and Monday would be enough.
See if this works for you, it's not choose-able, but it should make it locale-aware 3cac6e5eead7f8460ba0d05553bdcd42c0e0ef45
Hey, thanks for the quick reply.
Indeed, it works. The only downside is that I have to start dms with a different locale otherwise the whole calendar is translated, but that's not too bad. A manual override would still be a nice-to-have addition, but this addresses my issue, so thanks!
I would also love to have a manual override option, dealing with locales is too much of a hassle 🤷
It is possible to set locale only for time/dates. I.e. I want to use en_US, but I want also 24h-based time, Monday as the first week day, DD/MM/YYY date format. All my requirements are in en_GB locale. So:
sudo vim /etc/locale.genand enable en_GB.UTF-8sudo locale-gensudo vim /etc/locale.confand add lineLC_TIME=en_GB.UTF-8.
This gives en_US locale, but with usual Europe date/time. As a bonus, this will work not only for dms, but for all other applications.
It is possible to set locale only for time/dates. I.e. I want to use en_US, but I want also 24h-based time, Monday as the first week day, DD/MM/YYY date format. All my requirements are in en_GB locale. So:
sudo vim /etc/locale.genand enable en_GB.UTF-8sudo locale-gensudo vim /etc/locale.confand add lineLC_TIME=en_GB.UTF-8.This gives en_US locale, but with usual Europe date/time. As a bonus, this will work not only for dms, but for all other applications.
Thank you! I'll look into locale env variables, it makes more sense to me now why dms would prefer system wide variables