[Ietf-calsify] DTEND for day events
Olivier Gutknecht
olivierg at apple.com
Thu Sep 1 12:58:58 PDT 2005
Hi Jeffrey,
On Sep 1, 2005, at 8:20 PM, Jeffrey Harris wrote:
>> rfc2445 is unclear if the DTEND is inclusive or exclusive when
>> both the
>> DTSTART and DTEND are DATEs.
>>
>
> To find the language about this, you have to look in the (not
> intuitively located) VEVENT definition. It says:
>
> The "DTSTART" property for a "VEVENT" specifies the inclusive start
> of the event. For recurring events, it also specifies the very
> first
> instance in the recurrence set. The "DTEND" property for a "VEVENT"
> calendar component specifies the non-inclusive end of the event.
>
> It doesn't say anything specific about DATE valued events, so DTEND is
> always exclusive.
Which also makes sense with the DATETIME case (i.e. a 'ponctual' event):
"For cases where a "VEVENT" calendar component
specifies a "DTSTART" property with a DATE-TIME data type but no
"DTEND" property, the event ends on the same calendar date and time
of day specified by the "DTSTART" property.
> In practice, Apple's iCal always exports one-day all-day events
> with an
> explicit DTEND of the day after the start. I scratched my head about
> that for a while, too, till I looked in VEVENT.
I'm not sure it's 'always'. I think that with our implementation you
might get in
some cases a one-day DATE valued event without a DTEND.
Ol.
More information about the Ietf-calsify
mailing list