Widget "Next Date" for Ongoing Events

We set up exhibits as ongoing all day events (e.g. May 23, 2024 - Dec. 31, 2025). However, when an ongoing all day event is pulled into a widget, and the widget is set to display the “next date,” it displays the original start date (e.g. May 23) of the exhibit and not today’s date (e.g. July 17). I suppose this is because it is configured as one long continuous event vs a repeating daily event, but when an exhibit runs for a year and a half, it is not manageable to create a repeating daily all-day event, which creates a series of 587 individually linked events. When we tried doing that, LiveWhale would regularly time out trying to process such a big series of events and give an error screen. (And at one point after finally getting it to work, we somehow ended up with 12 instances of the event every day). So I’m wondering if there is a setting or workaround for widgets so that when they display an ongoing multi-day event, the “next date” is today’s date and not the start date?

1 Like

Thanks for letting us know about this, Jen – we’ll work on reproducing this so we can look at the various options and come up with something to suggest that would help here.

We just ran into this same issue as well and were wondering about a solution. Thanks!

Thanks Ryan – we don’t currently have a core solution here (outside of a custom module approach) but I’m adding this as a +1 request for core! Thanks.

Karl, we took care of this on our end. @jroupe, we could provide you our module if you wanted to take a look.

Our basic approach was to check for an end_date (which means it is a repeating event) and then to compare datetime to today’s date and if the datetime is less than (earlier) than today we output today’s time instead.