-
Notifications
You must be signed in to change notification settings - Fork 5
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
[Feature Request] Grouping iCalendar event with RRULE #46
Comments
We need to consider two cases:
If these could be easily handled with |
Though it could be pretty dumb, it can be done by
As long as the course is arranged the same time on clock, it can be grouped. As the iCalendar exported hard-coded every event's time, and as courses' range less than 1 year, the RRULE is actually appointing unique dates. It would not be hard to implement for your cases. |
This feature is written in RFC5545, so calendar app supporting iCalendar should have the support. |
Take ME210/SI1210 工程实践 as an example, this course has no location on the schedule and the actual course time is 12:55-17:40 instead of 12:00-17:40 on i.sjtu.edu.cn, it would be more convenient to change all the course information at once. |
LGTM to me. I'll add this support sometime later. |
What if the course crosses two years? e.g. a 2021 fall course may span 2021 and 2022. |
you could assign the BYYEARDAY like 362, 363, 364, 365, 1, 2, 3, 4, and set the start day (DTSTART) and end day (RRULE/UNTIL) to limit them in 2021-09 to 2022-02. |
Most classes are planned weekly or biweekly, it could be better to use recurrence rule defined in iCalendar specifications. This will allow calendar app users to edit their events efficiently.
The text was updated successfully, but these errors were encountered: