Prompt
What should I use for recurring events and reminders in a calendar app?
Latest observation
Oct 15, 2026
OpenAI APIWeb search: off
For a calendar app, the best choice is usually:
- Recurring events: use a recurrence rule format, specifically iCalendar RRULE
- Reminders/notifications: use a reminder object or alarm definition attached to the event
Recurring events
Use RRULE because it’s a standard and flexible way to describe repeats like:
- every day
- every Monday
- every 3 weeks
- the first Friday of each month
- ending after a date or after N occurrences
Example:
RRULE:FREQ=WEEKLY;BYDAY=MO,WE,FR
This means: repeat weekly on Monday, Wednesday, and Friday.
Reminders
Use a separate reminder structure, such as:
- trigger time relative to the event start, like
-15 minutes - trigger time at an absolute date/time
- multiple reminders per event if needed
Example:
{
"trigger": "-PT15M",
"method": "popup"
}
Recommended approach
A practical calendar model usually has:
- Event
- title
- start/end
- timezone
- recurrence rule(s)
- exceptions/overrides
- Reminder
- trigger
- delivery method
- status
Why this is better
- Standardized: RRULE is widely supported
- Flexible: handles complex repeat patterns
- Separable: reminders can vary independently from recurrence
- Compatible: easy to integrate with CalDAV, iCalendar, Google Calendar-style concepts
If you want, I can also show:
- a suggested database schema, or
- examples in JSON for recurring events + reminders.