Event plugin displays incorrect Day of Week in topic

Environment

Discourse Version: v3.4.0.beta1 +271

Plugin Commit: e0c4bfef

Steps to Reproduce

Enter the date November 27 2024 into the date selector in the Events wizard – it will appear correctly as Wednesday in this view.

Upon creating the post / pushing the edit, it will appear in the topic as “Friday,” as shown in the following image:

https://i.imgur.com/9DoF67J.png

The issue does not seem to happen on refreshing the page — only when navigating to it from the calendar, or directly proceeding an edit. Although refreshing does not fix the problem as described in “SIDEPROBLEM” below.

Example

SIDEPROBLEM: on the Events Calendar homepage, this same day appears as Thursday… or Saturday… or Sunday in the Calendar, or the topic button that you can access from it — the association between days and positions in the calendar seems random.

Image to bug: https://i.imgur.com/KwaoIQU.png

Logs

https://i.imgur.com/8Z90VhN.png

Thanks for the report. I’ll take a look at this soon.

To second the issue
It looks like it’s related to ‘Start Week On’ being set to another day than Sunday.

Changing it to Saturday or Friday causes the calendar issue, and causes the ‘Start Week On’ drop-down showing the wrong days as options (but corrects itself once a day is selected).

We are also having an issue where the calendar is unresponsive on mobile - users are unable to click/view dates

Thanks for the explanation Martyn,

I’m struggling to find the “Start Week On” setting, I remember seeing it before, but it’s not coming up in the plugin settings, or the category settings.

Could you help me find where this dropdown is?