eddiewebb / flarum-calendar

MIT License
16 stars 10 forks source link

Change first day of the week and time format #41

Closed svennefenne closed 2 years ago

svennefenne commented 2 years ago

Maybe add an option to change first day of the week to monday. (Euro friendly)

Also maybe add an option to change time format to 24h. (Euro frendly)

eddiewebb commented 2 years ago

Of course, I will try to get to this soon!

eddiewebb commented 2 years ago

settting local of fullcalendar should do both, and we shouldbe able to mirror flarum selection.

We can also expose specific settings for firstDay and timeformat if needed

https://fullcalendar.io/docs/locale

eddiewebb commented 2 years ago

@svennefenne @testm4v3rick - Fixed in 1.5.2

The plugin now uses Flarum's current locale to pass directly to fullcalendar. European locales will change date format and firstDay.

Screen Shot 2022-10-20 at 6 46 57 AM