Jack Kamm <jackk...@gmail.com> writes: > IMO it should be possible for ox-icalendar to export events without > DTEND since the iCalendar spec explicitly allows this. However it will > take me some time to look into it.
Reviewing RFC 5545 again, it says: > For cases where a "VEVENT" calendar component specifies a "DTSTART" > property with a DATE-TIME value type but no "DTEND" property, the > event ends on the same calendar date and time of day specified by the > "DTSTART" property. Therefore, it should suffice to just set `org-agenda-default-appoint-duration' to 0 during export. Note a DTEND property will still be exported, but it will equal DTSTART, and according to the iCal spec, this is equivalent to no DTEND. However, I'm not opposed to adding an option to skip exporting DTEND in timestamps without a range -- if someone wants to draft a patch for it, I can help review it. In the meantime, let's just update the manual as discussed previously. If my patch above for this looks good I can go ahead and push it.