lbell / pretty-google-calendar

Simple WordPress plugin to embed Google Calendars in way that doesn't suck.
10 stars 7 forks source link

Handle "free/busy" Calendars #41

Open lbell opened 5 months ago

lbell commented 5 months ago

Possible that calendars set the show only free/busy result in "undefined" title. If that's the case, should see if we can tap in to show "busy" or custom message.

adster101 commented 4 months ago

This is an issue for us. See the calendar here for example - https://jimralleyaa701a90f1.wpcomstaging.com/whats-on/

Can you point me in the right direction and I'll see if I can come up with a fix? Seems like it shouldn't be that difficult ;-)

lbell commented 3 months ago

This is a longstanding issue with FullCalendar: https://github.com/fullcalendar/fullcalendar/issues/6617

Possibly, we could modify the event object with the setProp to find undefined titles and replace them. Haven't dug deep enough to know if this is the right route.