DankMaterialShell icon indicating copy to clipboard operation
DankMaterialShell copied to clipboard

Allow choosing the first day of the week in the calendar

Open a-dma opened this issue 1 year ago • 5 comments

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.

a-dma avatar Sep 20 '25 14:09 a-dma

See if this works for you, it's not choose-able, but it should make it locale-aware 3cac6e5eead7f8460ba0d05553bdcd42c0e0ef45

bbedward avatar Sep 20 '25 16:09 bbedward

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!

a-dma avatar Sep 20 '25 17:09 a-dma

I would also love to have a manual override option, dealing with locales is too much of a hassle 🤷

2gibbert avatar Nov 03 '25 15:11 2gibbert

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:

  1. sudo vim /etc/locale.gen and enable en_GB.UTF-8
  2. sudo locale-gen
  3. sudo vim /etc/locale.conf and add line LC_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.

chpock avatar Nov 04 '25 17:11 chpock

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:

  1. sudo vim /etc/locale.gen and enable en_GB.UTF-8
  2. sudo locale-gen
  3. sudo vim /etc/locale.conf and add line LC_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

2gibbert avatar Nov 04 '25 17:11 2gibbert