Hi Detlef, Detlef Steuer <ste...@hsu-hh.de> writes:
> My question: Is it possible to export to ics without an end time? > > If not, how can a different default lengths for icalendar export only > be defined? > > I guess the two hour setting is kind of arbitrary. Couldn't that be a > variable, if the icalendar standard requires an end time? I don't know much about the Org-specific parts of this, but I can tell you that the iCalendar standard does not require it. However, I suspect that the reason the 2 hour default is there in the code you pointed to is that external calendar applications might not display events correctly that have a start time but no end time or duration. (Think of the typical web-based calendar, where an event is a box with a height corresponding to its duration: an event with no end time and no duration might not be visible/readable.) Can you describe your use case more completely? Do you need to be able to export without an end time? Why don't you want to set org-agenda-default-appointment-duration? (Presumably you could do this dynamically for iCalendar export, without affecting org-agenda, if that would solve your problem.) Best, Richard