Ongeldige datum weergegeven in Right Sidebar Blocks-component voor "aankomende evenementen"-paneel op Safari

There appears to be a bug in the Right Sidebar Blocks component on Safari (desktop and mobile), where it displays “invalid date” in the “upcoming events” panel on the right. It works fine in Edge, Chrome and Firefox:

image

2 likes

Ik kan dit niet reproduceren op Safari. Werkt het op de /upcoming-events route?

1 like

Thanks for helping me out with this - much appreciated!

Maybe I am doing something wrong, but I tried adding upcoming-events (and also tried /upcoming-events) but it’s not displaying the right-hand panel on that view? It’s showing in the categories I have specified though:

Upcoming events view:

Looks like a problem with moment on Safari?

1 like

Het lijkt verband te houden met het specifieke evenement, aangezien een ander evenement dat ik zojuist heb aangemaakt prima wordt weergegeven. Zal proberen het te beperken..

1 like

OK - this is really odd.

I created a test event - and it displayed fine. Then I changed the date of this event to match the one that wasn’t displaying - and it also had the same problem - so it appears to be related to the date of the event.

The event in question runs from 3rd Feb 2026 to 5th Feb 2026. If I change it to the previous or following week it displays fine!

Then I tried extending the end date - and got this:

It appears to display fine in the Upcoming Events route?

FWIW there’s another report of this in the plugin topic as well:

4 likes

Heb je ideeën voor een tijdelijke oplossing?

I don’t know of a workaround, but I can repro using an event date on the single digits of a month (eg 3rd July 2025). This marries up with the wonky ones you and @mpaulhac have given as examples.

From the look of the error in your screenshot above it seems to be dropping a ‘0’ in the single digit date (ie 2026-02-3) for some reason.

2 likes

Bedankt voor de update - zeer gewaardeerd! Hopelijk een eenvoudige oplossing?

Ik kan het niet reproduceren, zelfs niet met een enkel cijfer, maar ik begrijp niet waarom je je datum niet gewoon correct definieert?

Kun je de ruwe versie van je bericht (de markdown) delen waar dit evenement is gedefinieerd?

I’m just using the Create Event option in the circle-with-a-plus menu. Nothing manual. :person_shrugging:


[event start="2025-07-03 18:20" status="public" timezone="Europe/London" allowedGroups="trust_level_0"]
[/event]

[event start="2025-07-03 18:20" status="public" timezone="Europe/London" allowedGroups="trust_level_0"]
[/event]

There’s no single digit here, so what is the issue?

With this raw:

I don’t know what to tell you? :person_shrugging:

Something is happening to the date in that calendar graphic on the left that safari doesn’t like.

The error from the post higher up references a date with a 0 missing:

That’s the best I got.

1 like

Ik zou genoeg moeten hebben om het te repareren, zelfs blindelings, zal kijken bedankt.

2 likes

Ok that should fix it:

2 likes

I’ve just updated and it works for me. :+1:

2 likes

Het werkt ook voor mij! Bedankt voor de snelle reactie!

2 likes

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