Skip to content
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

iCalendar export: default rely on value types #4783

Closed
dilyanpalauzov opened this issue Feb 17, 2021 · 2 comments
Closed

iCalendar export: default rely on value types #4783

dilyanpalauzov opened this issue Feb 17, 2021 · 2 comments

Comments

@dilyanpalauzov
Copy link

Per https://tools.ietf.org/html/rfc5545#section-3.8.2.4 the default value type for DTSTART, DTEND and DTSTAMP is DATE-TIME.

Calling https://indico.geant.org/export/categ/0.ics returns:

DTSTART;VALUE=DATE-TIME:20190616T050000Z
DTEND;VALUE=DATE-TIME:20190620T153000Z
DTSTAMP;VALUE=DATE-TIME:20210217T082500Z

In order to reduce the amount of transferred data remove the ;VALUE=DATE-TIME string, as it is implicit.

@ThiefMaster
Copy link
Member

We use the icalendar library; I don't think it has an option for this. Maybe you want to open an issue on their issue tracker instead, or even send a PR to improve this? :)

@dilyanpalauzov
Copy link
Author

Moved do collective/icalendar#318.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants