Seems like there should be an easy answer for this, but I'm unable to think of it right now.

I have a view of upcoming events, some events are single day events and some are multiple day events. I would like the events to disappear after the end date. 

However, you can't add an end date that is the same date as the start date and I ONLY want to display and end date if the event is more than one day. 

I could add an extra "Hide Date" field and require the site editor enter the start date and the hide date, which is the same for most events. But, it seems like there should be an easier answer. 

Am I missing something obvious (or a contrib module that solves this)?

The logic I am looking for is to hide events after the start date, if they are one day events. Or to hide them after the end date, if they are multiple day events.

Accepted answer

As I expected, the answer to this was very easy. 

It seems that you can filter by "end date" even if there is no end date listed. It seems that BackdropCMS is smart enough to know that the end date is the same as the start date, for events without explicit end dates.

This fiter criteria only shows events with an end date in the future. Once the end date has passed, the event is no longer visible. If there is no end date, it seems to use the start date as the end date (which is what we want).

Comments

Hi Tim.  Are you saying that these events have a granularity of day?  Is there not a start time and end time?  I think if you have times you can have the end time on the same day.  I have that on multiple views for a site with events.  Where there is multiple days  you could either have a single span from start time on day 1 to end time on day x or you could create individual events for each day.

Yes, we are only working with dates - not specific times. If we entered an "end date" that was the same as the start date, Backdrop just ignored the end date - leaving me to think that Backdrop would be confused if I used and end date filter on events without an end date. 

In fact, Backdrop seems to know that if there is no explicit end date, the end date is = to the start date.

As I expected, the answer to this was very easy. 

It seems that you can filter by "end date" even if there is no end date listed. It seems that BackdropCMS is smart enough to know that the end date is the same as the start date, for events without explicit end dates.

This fiter criteria only shows events with an end date in the future. Once the end date has passed, the event is no longer visible. If there is no end date, it seems to use the start date as the end date (which is what we want).