I'm working with Drupal 8 and looking for a way to have a contextual filter on a datetime range which would look this way /YYYY-MM-DD--YYYY-MM-DD for example and get all content whose period or date is between these two dates.

I saw that works with Drupal 7, but I can't find anything for Drupal 8.

closed as unclear what you're asking by mradcliffe, leymannx, Shawn Conn, Alfred Armstrong, DRUPWAY Dec 7 at 4:50

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • Welcome to Drupal answers. Unfortunately, this feature is not in the core Daterange module yet. There may be a contrib solution, or you would have to implement it yourself (using one of the Datetime contextual filters plugins as a starting point). There is a Feature Request issue in the queue to do this, but there hasn't been much progress on it yet. – mpdonadio Nov 28 at 13:56

Browse other questions tagged or ask your own question.