Rrule exdate with only a date does not work if dtstart includes a time
See original GitHub issueReduced Test Case
Bug Description
According to the official doc of FullCalendar, you can use the key exdate
(rrule
plugin) to exclude a specific day from a recurring event pattern. This is my case:
[
{
"title": "Foo",
"rrule": {
"freq": "weekly",
"byweekday": ["TH"],
"dtstart": "2021-01-01T08:00:00",
},
"duration": {"minutes": 600},
"exdate": ["2021-01-22"],
}
]
I would expect that the recurring event does not happen on 2021-01-22. But such a piece of code does not work (i.e., I can still see the recurring event Foo
on 2021-01-22
).
The only way to fix I’ve found so far is using the same date and time I used in dtstart
. I.e., "exdate": ["2021-01-01T08:00:00"]
.
Screenshots
(see the REDUCED TEST CASE)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Is EXDATE not included in rrule for Full Calendar
OK I worked it out, @Arnaud is right, RRULE, EXDATE and DTSTART are properties not parameters of rrule, BUT they do go in...
Read more >3.8.5.1. Exception Date-Times | iCalendar (RFC 5545)
This property defines the list of DATE-TIME exceptions for recurring ... a "DTSTART" property value that doesn't match the pattern of the rule...
Read more >rrule — dateutil 2.8.2 documentation - Read the Docs
Include the given datetime instance in the recurrence set exclusion list. Dates included that way will not be generated, even if some inclusive...
Read more >The Deceptively Complex World of RRULEs in Calendar Events
Learn how to work with repeating calendar events, from RFC-5545 and ... You'll notice the EXDATE is in fact a datetime (not just...
Read more >rfc5545.txt - » RFC Editor
This document may contain material from IETF Documents or IETF ... Furthermore, if the "DTSTART" property is specified as a date with local...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I see that you’ve added this to the upcoming-release which was the right move but later took it off 😦
For anyone interested I was able to make it work by repeating the same time sequence in the exception rule so in the case of Andrea’s Pen case it’s
"exdate": ["2021-01-22T08:00:00"],
which will make it work, I’ve updated my own Pen case as well.I think the bug is still worth fixing as adding any other time like 07:00 make it broken as well.
Hi, I’m facing this same issue. @floatingpurr thanks for the workaround!