Kalendergebeurtenis lijkt kapot?

AI-generated summary

Users Magie and anko127 reported a bug where calendar events displayed incorrectly after an update, particularly affecting date formatting in German locales due to typographic quote handling. j.jaffeux confirmed it as a recent regression and requested raw event code to reproduce the issue. Both users provided examples, and j.jaffeux implemented a fix targeting quote localization in the discourse-calendar plugin. anko127 confirmed the fix restored correct date display. Magie noted a remaining issue with multi-day events, which yuriy addressed with an additional fix (#754). Magie confirmed full resolution and thanked the team. Separately, anko127 asked about resetting attendee lists post-event; j.jaffeux acknowledged the issue but noted no current plan to address it. The bug was resolved via community collaboration and targeted code fixes.

Hello dear Discourse friends,

after the latest update all of my calendar events look weird:

Does anybody experience the same or knows why this is happening? On all of our events the date is not displayed correctly.

Any hint is appreciated.

2 likes

Ja @magie sorry, het is een recente regressie. Ik denk niet dat de meeste mensen het zien, omdat het mogelijk verband houdt met een specifieke configuratie van je gebeurtenis.

Kun je me de ruwe gegevens van dit bericht geven, zodat we het lokaal kunnen proberen te reproduceren en het kunnen oplossen?

Hallo @j.jaffeux
Bedankt voor je snelle reactie. Ik weet niet zeker of dit is wat je bedoelt met ‘raw’:

[event start="2025-10-14 09:00" status="private" name="9:00 - 17:00 Uhr: Erste-Hilfe-Kurs · 119 (ABC)" timezone="Europe/Berlin" minimal="true"]
[/event]

Laat het me weten als je iets anders bedoelt met “raw”.

Het zag er vroeger goed uit. Als we iets moeten veranderen, laat het ons dan alsjeblieft weten. (Normaal gesproken hebben we ook geen tijdzone nodig, aangezien we altijd in de tijdzone van Berlijn zitten.)

1 like

That’s what we needed thanks, we will get back to you :+1:

We zien dezelfde foutmelding:

[event start="2025-06-25 17:00" status="public" name="Test Event" timezone="Europe/Berlin" recurrence="every_four_weeks" end="2025-06-25 19:00" allowedGroups="trust_level_0"]
[/event]

wordt weergegeven als:
[date=2025-06-25 time=17:00 format=‚ddd, MMM D LT‘ timezone=Europe/Berlin hideTimezone=false range=from] → Vandaag 19:00

Bedankt

1 like

We haven’t been able to repro this locally, but clearly this is related to german and typographic quotes.

Im attempting this fix:

https://github.com/discourse/discourse-calendar/pull/753

Please let me know if it improves the situation for you.

1 like

Ja, de datum van het evenement wordt weer correct weergegeven: [quote=“xxx, post:1, topic:17970”]
→ Sat, Jun 28 12:00 PM→Sat, Jun 28 4:00 PM
[/quote]

Heel erg bedankt voor de snelle oplossing!!!

Kun je ook zeggen wanneer de deelnemerslijst na het evenement weer wordt gereset?
Onze lijsten stapelen zich op als we het evenement niet tussendoor privé zetten om de lijst te wissen. Is er een speciale configuratie om dit te krijgen?
Bedankt…

Thank you @j.jaffeux for the update! :bouquet: :two_hearts:
It does work, however, there is still a part not displayed correctly. I think it is when an event spans multiple days:

Raw:

[event start="2025-07-03 09:00" status="private" name="9:00 - 17:00 Uhr: Training: Deeskalations- und foobar" url="https://foobar" timezone="Europe/Berlin" minimal="true" end="2025-07-04 17:00"]
[/event]
1 like

No plan yet, but yes I agree it’s not ideal atm.

1 like

Thanks, @Magie for catching the similar issue for the ending date.

As @j.jaffeux said, it has to do with quotes localization. Now, both, start and end date should be rendered fine.

The fix applied can be found here:
https://github.com/discourse/discourse-calendar/pull/754

3 likes

Fantastic!! Thank you @j.jaffeux and @yuriy :technologist: :up_button: :sparkling_heart:

Your updates solved the issue. Many thanks!

2 likes

Fijn om te horen, bedankt voor het verslag!

1 like

Dit onderwerp is automatisch gesloten 2 dagen na het laatste antwoord. Nieuwe antwoorden zijn niet meer toegestaan.