Forum Academy Marketplace Showcase Pricing Features

How to remove certain dates from a list of dates?

I have a calendar where my users can add a list of blocked or available days. The data type is Schedule and there is a field Block Dates (list of dates) and Specific Dates Available (list of date ranges). Those lists are getting long so I’d like to remove dates that have passed. I would have thought something like this could work but I guess not:

You simply want to REMOVE some dates from some list of dates (some_list-of_dates :minus list the_list_of_dates_to_remove).

The “Delete a List of…” action deletes a list of a Things from your database. It’s only useful for deleting multiple Things at once. It can only operate on Things, not primitives. The issue checker is telling you this.

1 Like