Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit recurring events #226

Open
1 task
tyler-dane opened this issue Jan 25, 2025 · 0 comments
Open
1 task

Edit recurring events #226

tyler-dane opened this issue Jan 25, 2025 · 0 comments
Labels
needs more info Not ready for coding just yet

Comments

@tyler-dane
Copy link
Contributor

tyler-dane commented Jan 25, 2025

Feature Description

Out-of-scope: This issue is just about editing existing recurring events, which the user previously created in their Google Calendar. We are gradually adding more support for recurring events in order to keep the PRs manageable. You do not need to create recurring events in Compass as part of this issue.

Use Case

No response

Acceptance Criteria

  • Includes unit tests for updating the recurrence rule

Implementation Guidance

If you prefer handling recurrence manually, you can parse the RRULE and generate future occurrences within your app using libraries like RRule.js.
Example:

import { RRule } from 'rrule';

const rule = new RRule({
  freq: RRule.WEEKLY,
  dtstart: new Date(Date.UTC(2024, 0, 1, 10, 30)),
  until: new Date(Date.UTC(2024, 11, 31))
});

const dates = rule.all(); // Generate all instances

Additional Context

https://developers.google.com/calendar/api/concepts/events-calendars#recurring_events
https://datatracker.ietf.org/doc/html/rfc5545

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info Not ready for coding just yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant