Recurring all-day events span too much time
Gnome Calendar misinterprets the time and duration of a VEVENT that has:
- a
DTSTART
with theDATE
type, - no
DTEND
orDURATION
specified, and - an
RRULE
recurrence.
For example, if the event was on 2 Nov, Gnome Calendar shows it as starting at 1 Nov 20:00 and ending at 3 Nov 00:00. (I'm in UTC-4 right now, so I'm guessing there's some timezone thing going on with the start time.) And although the end time sounds correct for a whole-day event, Gnome Calendar shows the event on Nov 1, 2, and 3... except in the "Year" view, where it shows the event on Nov 2 and 3 only.
RFC5545 (§3.6.1) specifies:
For cases where a "VEVENT" calendar component specifies a "DTSTART" property with a DATE value type but no "DTEND" nor "DURATION" property, the event's duration is taken to be one day.
And it gives an example event, "Our Blissful Anniversary", on page 55.
Steps to reproduce:
- Open GNOME Calendar
- Add the attached ICS calendar, which is the "Our Blissful Anniversary" event from the RFC. (I just added the VCALENDAR wrapper.)
- Check the event. In this example it's in November.
Expected result: The event should span one full day, on the named date regardless of the user's timezone.