KirAsh4 / calendar_monthly

A compact monthly calendar view for the MagicMirror project (https://github.com/MichMich/MagicMirror)
MIT License
70 stars 33 forks source link

Is there a way to change the first day of the week? #13

Open Ra7t0r opened 5 years ago

Ra7t0r commented 5 years ago

Is there a way to change the first day of the week? Any updates?

Thanks

_Originally posted by @Ra7t0r in https://github.com/KirAsh4/calendar_monthly/issues/8#issuecomment-482827314_

cerberus82 commented 4 years ago

go to your config.js file and change the language (globally, not module specific) to "en-GB"... that will make monday the first day of the week.

fluentlydata commented 4 years ago

That works, thanks! Remember though to call npm install after changing the configuration.

Bolovai commented 3 years ago

So question on this, my language is set to "en" in my config.js but in the Calendar mod, Monday is my first day of the week already. I would like to change it to show as Sunday being the first day as traditional calendars go. I am not used to seeing Sunday at the end of the week. Is there a way to make this change?

Hristov94 commented 2 years ago

Changing the config.js to "en-GB" didn't do it for me...

hesspoint commented 1 year ago

I have my local set to Germany as we also have Monday as the first day.

language: "en",
locale: "de-DE",

I ran npm install again, even completely removed the directory and reinstalled the module but still showing Sunday as the first day.

Hristov94 commented 1 year ago

Any other known fixes ?

meaple commented 1 year ago

Have you tried language: "en-gb", if I remember correctly using language: "en-GB", didn't work for me either. I don't remember if I had to reinstall module or reinstall and reboot.

Hristov94 commented 1 year ago

O damn, so stupid of me.., Language, not locale... Yes, it worked !!! My god, thank you so much!