Événements non créés / date mal analysée

We have a situation that only happens on some computers, and not on others.
They are set to timezone Europe/Berlin and dates are shown as DD.MM.YYYY.

This seems to be caused by the fact that Discourse shows a date but then parses it incorrectly.
When the create event popup opens it is prefilled with a date in the format 26.08.2025. (on August 26).

On some occasions events are not being created: as soon as the event modal is closed it just does not insert an event into the composer. No error is shown in the browser console.

On other occasions the date is misparsed. E.g. 01.09.2025 (today) becomes January 9th. But yesterday 31.08.2025 became invalid.

The plugin has the following code

  @tracked startsAt = moment(this.event.startsAt).tz(
    this.event.timezone || "UTC"
  );

and there is code that silently does nothing when that fails (maybe it should show an error? There is not even a way for a user to empty startAt, so this only happens when parsing fails).

  @action
  createEvent() {
    if (!this.startsAt) {
      this.args.closeModal();
      return;
    }

So basically:

  • Discourse displays todays date
  • When the event is created it fails to correctly parse that same date.