My app has an events calendar, which does not use any existing calendar component. It’s really just a custom list of “upcoming events” sorted by date.
Some of those events will repeat infinitely, for example every Monday.
I’ve seen several complicated solutions to the recurring event question here on the forum. Is there a simple technique for this?
For example, is there a way to update the date of certain events as soon as that event has passed? Change the date to “current date +7?
Could I add a true/false property to my events collection, identifying recurring events? And could I use that property to trigger the duplication of the event with the next week’s date?
Is there any way to programmatically copy an item in a collection?
Just trying to brainstorm. I’d appreciate any advice on this.