How to display events up to Date.now() ?

Hi
I want to restrict the events I display based on date/time. For normal events it’s simple, I use scheduler.filter_month, scheduler.filter_day, scheduler.filter_week to filter on event start_date, but I don’t know how to deal with recurring events because start_date passes the filter and the entire series is displayed.
Is there anything I can use?

Thanks

You can define event_class template, it will be called for each event instance. For events in future you can assign a css class with display:none styling. So events will be rendered, but styled to be invisible.

I should have thought about this. I’m using the same thing to change the colour :unamused: . Thanks