-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Having problems with an EXDate #18
Comments
Where did you get this entry from? |
Correct me if I'm wrong, but I think the problem here is that you have two comma separated dates in exdate. It doesn't look like ical.js supports this. I have created an issue here: kewisch/ical.js#458 |
Thanks. It is generated by our c# backend and does work for calendar software. I got the same error with a single item that was a single date without a time. |
EXDATE can have a list of values https://tools.ietf.org/html/rfc5545#section-3.8.5.1 I would recommend you to use |
@radarfox ical.js seems to already support multiple values (see kewisch/ical.js#458). The problem seems to be that it doesn't support this short date format without a time. e.g. |
I believe that iCal does indeed use 'T'. See for example this file: ical-expander/test/icaljs-issue-257.ics Line 12 in 4c3b6e7
|
Yes, I figured that out, I was confused by the format in the error message. Looks like you are right and the problem is in the date-only format. |
Anyway, I have spend a lot of time working with this library lately and I ended up refactoring it to a simple method which uses |
Cool! could you provide an example? |
I have the following calendar Content. When I run the
icalExpander.between()
I get an error of invalid date-time value: "2020-11-26T::"The calendar content seems to be building the EXDate with a a comma-separated list of dates without times. Does the expander expect dates and times there? The Icalendar Format.org definition seems to allow for date-time or date.
The text was updated successfully, but these errors were encountered: