question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

use RRULE INTERVAL instead of EXDATE

See original GitHub issue

Currently the ICS export uses EXDATE for biweekly tutorials/lectures, which is less compliant to the iCalendar spec of setting the RRULE to FREQ:WEEKLY;INTERVAL:2;COUNT=7. I’m not sure how ICS exports works underneath as of yet, but this seems simpler.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jethrokuancommented, Mar 29, 2017

I thought about that, in particular the fact that the timetable events don’t really change makes it a viable solution. That would certainly solve my issue, but I don’t think it’s a much better solution than EXDATE for the general public.

0reactions
ngzhiancommented, Mar 29, 2017

@jethrokuan another way is that you can return 2 events that make up this, 1 pre recess week, 1 post recess week. But there are problems with this as well, if you want to change the name then you have to change it twice (since those are disjoint events now). Can try using the same ID for both events, but I’m not sure if that will be allowed. Anyway feel free to experiment with this! Lmk if you find anything interesting / have questions 🍻

Read more comments on GitHub >

github_iconTop Results From Across the Web

rrule — dateutil 2.8.2 documentation - Read the Docs
If not given, datetime.now() will be used instead. interval – The interval between each freq iteration. For example, when using YEARLY, an interval...
Read more >
The Deceptively Complex World of RRULEs in Calendar ...
Use Nylas and RRULEs to Simplify Repeating Calendar Events ... have noticed that the rruleset.exdate method takes a datetime instance rather ...
Read more >
3.8.5.3. Recurrence Rule | iCalendar (RFC 5545)
This property defines a rule or repeating pattern for recurring events, to-dos, ... start DATE- TIME values specified by "EXDATE" properties take precedence ......
Read more >
Is EXDATE not included in rrule for Full Calendar
Without EXDATE the rrule works fine. Here are the details that I'm using in Full Calendar to produce the event { start: "2019-07-06T09:00 ......
Read more >
iCalendar spec: 4.8.5.4 Recurrence Rule
This implies that start date/times within exclusion related properties (i.e., "EXDATE" and "EXRULE") take precedence over those specified by inclusion ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found