Choose first day of the week on Upcoming Events calendar

Did you know it’s hard coded to Monday almost everywhere else (surprised me as well)

Ideally this would be dependent on user preferences (not on an admin setting).

I’ve taken a look at the code, since this issue has been annoying me for a long time too. There are three places in the code where FullCalendar is initialized. In one of them firstDay: 1 is already present. Discourse core hardcodes it to 1 as well.

I’ve made a PR that adds firstDay: 1 in the two missing places.

This is far from ideal but at least it brings consistency.

4 Likes