Cancel 1 instance of a repeating date
I've built a website for a local yoga studio (PHP). The site has a calendar. The instructor keeps needing to cancel a random class here and there. The problem is that we either have to cancel all the instances of a weekly repeating date to remove it from the calendar, or cancel none of them and hope that people read the announcements on the front page.
I'm trying to puzzle out how to have a mechanism where I can let her just cancel one instance of a 开发者_如何学Cweekly repeating date, but am neither able to comprehend the solution, nor to find anything on here that someone else has tried.
I have plenty of open source calendar scripts to hack up, and just need this one little feature. Any ideas?
Many thanks.
This is a not an entirely straightforward problem. You either need to:
- To list all repeated dates in the database
- To have a list of 'cancelled' dates in the database
How are the recurring dates currently implemented?
精彩评论