apostrophecms/apostrophe-events

Non-contiguous Multi-Day (but not recurring :) events

Opened this issue · 0 comments

The problem to solve

We would like an additional dateType choice that allows for multiple-day events that fit neither the sequential day nor structured recurring patterns but are for an arbitrary set of dates e.g. this Wednesday, Saturday, and next Thursday kind of thing.

Proposed solution

At an initial glance, adding an additional "Non-Contiguous Multi-Day" option to dateType in index.js, and having that option show a new field called 'allDates' or similar that accepts an array of Dates would seem relatively easy.

Note: the assumption is that the events would have the same all day or specific time range in each occurence.

Have submitted PR #48 as an example solution

Alternatives

Tried with the existing recurring event option, however it doesn't quite fit out use case, nor do we actually want to create multiple events