-
Notifications
You must be signed in to change notification settings - Fork 162
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
Floating repeating events #442
Comments
Sorry for the late reply, had a cold in between and only now got to look through the GitHub notifications. As I see it, this is a bug, since both |
No worries for taking a bit longer, I hope you're better now! Based on my knowledge of iCal I do think that your library should support floating BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//arnim279/demo
BEGIN:VEVENT
SUMMARY:Test Event
UID:1
DTSTAMP:20221206T120000
DTSTART:20221206T120000
DTEND:20221206T130000
RRULE:FREQ=WEEKLY;COUNT=4
EXDATE:20221213T120000
END:VEVENT
END:VCALENDAR I am however pretty unsure whether this is the behavior intended in the iCal RFC, because I can't find any mention of floating |
Have you been able to find out anything in the meantime? I haven't so far, to be honest. |
I haven't found anything either, but because both the icalendar validator and Apple Calendar accept my example I guess it's fine? |
I would also just assume that it is. If it is wrong and it breaks on a client, hopefully someone will report in the issues. I would take care of an implementation if it is not urgent for you. But it can happen in the new year, I can not currently estimate when I come to it. Because of the holidays etc. |
## [3.6.1-develop.3](v3.6.1-develop.2...v3.6.1-develop.3) (2022-12-20) ### Bug Fixes * **Event:** Return floating repeating until/excluded dates if floating ([011123e](011123e)), closes [#442](#442)
🎉 This issue has been resolved in version 3.6.1-develop.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
@arnim279 I released a pre-release with the change. Can you check if it's now fixed for you? You can install the latest pre-release with |
Yup, it works now! Thanks for the quick implementation :D Edit: In a rush I forgot to install the pre-release, simply reproduced the bug, and wrote another comment here but I deleted it when I noticed, so don't be surprised if you got two notifications |
## [3.6.1](v3.6.0...v3.6.1) (2022-12-27) ### Bug Fixes * **Event:** Return floating repeating until/excluded dates if floating ([011123e](011123e)), closes [#442](#442)
🎉 This issue has been resolved in version 3.6.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
There are some problems with floating, repeating events.
Currently, a floating, repeating event looks like this:
As you can see, the
DTSTART
andDTEND
datetimes are 'floating', so they don't end with theZ
UTC time zone specifier.The
RRULE:UNTIL
andEXDATE
properties however are still treated as UTC datetimes. In my case, theRRULE:UNTIL
property is not affected, but I imagine in some edge cases it could be. My main issue is with the excluded dates. To properly exclude an event from the recurrence set, the excluded time must match theDTSTART
time. This does not work if that time is 'floating'.This is the affected code (the
dateonly
andfloating
parameters toformatDate()
are always undefined).The solution would be to
EXDATE;VALUE=DATE=[list of date]
)I might be wrong about the details however, I don't have a lot of experience in working with ICal.
The text was updated successfully, but these errors were encountered: