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

More work on THISANDFUTURE #182

Merged
merged 6 commits into from
Sep 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Let's put our expertise together and build a tool that can solve this!
* `EXDATE <https://www.kanzaki.com/docs/ical/exdate.html>`_ (DONE)
* `X-WR-TIMEZONE` compatibilty (DONE)
* non-gregorian event repetitions (TODO)
* RECURRENCE-ID with THISANDFUTURE - modify all future events (DONE)

Not included:

Expand Down
206 changes: 156 additions & 50 deletions recurring_ical_events.py

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions test/calendars/issue_75_range_parameter.ics
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@ UID:210
DTSTART:20240901T120000Z
DTEND:20240901T140000Z
RRULE:FREQ=DAILY;INTERVAL=2;UNTIL=20250920
RDATE:20240924T090000Z
RDATE:20240914T090000Z
SEQUENCE:0
SUMMARY:ORIGINAL EVENT
DESCRIPTION: 2 hours long
END:VEVENT
BEGIN:VEVENT
UID:210
Expand All @@ -17,6 +18,7 @@ DTSTART:20240913T090000Z
DTEND:20240913T160000Z
SEQUENCE:1
SUMMARY:MODIFIED EVENT
DESCRIPTION: move -3h, make 7 hours long
END:VEVENT
BEGIN:VEVENT
UID:210
Expand All @@ -25,13 +27,15 @@ DTSTART:20240915T170000Z
DTEND:20240915T190000Z
SEQUENCE:1
SUMMARY:MODIFIED EVENT
DESCRIPTION: move +5h, 2 hours long
END:VEVENT
BEGIN:VEVENT
UID:210
RECURRENCE-ID;RANGE=THISANDFUTURE:20240922T120000Z
RECURRENCE-ID;RANGE=THISANDFUTURE:20240921T120000Z
DTSTART:20240922T142200Z
DTEND:20240922T161300Z
SEQUENCE:1
SUMMARY:EDITED EVENT
DESCRIPTION: moved +1 day +2h +22min, 1 hour 51min long
END:VEVENT
END:VCALENDAR
Loading