It displays correctly on the February Calendar, but when you click to March the event isn’t visible. It should show for March 1 through 5.
There are start and end dates and times set. We just want to list this event on the calendar, not accept registrations for it, so we haven’t enabled the register option for this event (though it is enabled for other events).
The only difference I see is that the February ends on a Friday, while April ends on a Wednesday. Thus, you never see February and March on the same calendar page, but you do see April and May both at the same time. Maybe that’s related to the problem?
I think this issue stems from the way the query checks against the event’s start date. This is what’s on line 477 of the current calendar plugin version’s espresso-calendar.php file.
Currently there’s an AND:
$SQL .= " AND ( e.start_date >= %s AND e.start_date <= %s ) ";
if that gets changed to an OR like this:
$SQL .= " AND ( e.start_date >= %s OR e.start_date <= %s ) ";
Thank you very much. I changed that AND to OR, and the event is showing up on both months’ calendars now.
Thanks for the quick reply!
Viewing 2 reply threads
The support post ‘Multi-day event that spans months sometimes not showing up in second month’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.