-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
MKCALENDAR does not send valid calendar-timezone #1246
Comments
Hi, where does it say that they are mandatory for timezones? It's like that on all examples, but it doesn't say it specifically, right? |
From the caldav RFC:
From ICalendar RFC https://datatracker.ietf.org/doc/html/rfc5545#section-3.4
The
Then it says
|
Makes sense, and in the example there are both PRODID and VERSION: https://www.rfc-editor.org/rfc/rfc4791#section-5.2.2 May I ask how you found this quite specific issue? Is there a usecase behind it? |
I suppose there is no great use case behind it; but davx5 does offer the feature to set the timezone when creating a calendar (used for "floating times"). When I tried to use this feature with my caldav server (the go-webdav implementation), the server reported an error because it could not parse the timezone (the go-ical library is quite strict it seems). |
Problem scope
App version
Android version and device/firmware type
No response
Steps to reproduce
create a calendar on the davx5 app with caldav server
Actual result
MKCALENDAR /caldav/calendars/c63752c9-37d1-476c-908a-a4f6284570f3/ DAVx5/4.4.5-ose (dav4jvm; okhttp/4.12.0) Android/15
sends this data in the calendar-timezone prop
This is not a valid VCALENDAR object as it is missing the mandatory PRODID and VERSION fields.
Expected result
PRODID and VERSION should be added. This is mandated by https://datatracker.ietf.org/doc/html/rfc4791#section-5.2.2
Further info
No response
The text was updated successfully, but these errors were encountered: