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

Duplicate custom events when exporting to ics #1010

Open
MinhxNguyen7 opened this issue Oct 1, 2024 · 0 comments
Open

Duplicate custom events when exporting to ics #1010

MinhxNguyen7 opened this issue Oct 1, 2024 · 0 comments
Labels
bug good first task Good task for someone new to the project medium Medium priority issue

Comments

@MinhxNguyen7
Copy link
Member

MinhxNguyen7 commented Oct 1, 2024

Description

  • When a custom event with multiple days is exported in an ics file, multiple copies of it are created.
  • Below is the relevant excerpt from an exported file containing one custom event repeating on Sunday and Monday.
SUMMARY:
DTSTAMP:20241002T004655Z
DTSTART;TZID=America/Los_Angeles:20240929T103000
DTEND;TZID=America/Los_Angeles:20240929T153000
RRULE:FREQ=WEEKLY;BYDAY=SU,MO;INTERVAL=1;COUNT=20
END:VEVENT
BEGIN:VEVENT
UID:5ZX0Zax9m6HBFzZzDHfbZ
SUMMARY:
DTSTAMP:20241002T004655Z
DTSTART;TZID=America/Los_Angeles:20240929T103000
DTEND;TZID=America/Los_Angeles:20240929T153000
RRULE:FREQ=WEEKLY;BYDAY=SU,MO;INTERVAL=1;COUNT=20

Reproduction

  • Create a custom event repeating on multiple days.
  • Download the ics file.
  • Inspect it manually or import it into a calendar app.

Diagnosis

  • It's probably to do with how multiple events are created for class sections that meet multiple times.
    • I think this is the case because class sections can meet in different places throughout the week.
  • The fix likely involves either creating only one event repeating on multiple days for custom events (preferable) or creating one custom event for each day.
@MinhxNguyen7 MinhxNguyen7 added bug good first task Good task for someone new to the project medium Medium priority issue labels Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug good first task Good task for someone new to the project medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

1 participant