Week and month views do not render time-based events without an end time
Affected version
Arch 2023-06-05 gnome-calendar: Version 44.1
Bug summary
Certain events are not shown in the week and month view.
Steps to reproduce
- Create the file
test.ics
with the following content:
BEGIN:VCALENDAR
VERSION:2.0
PRODID:ics-rs
BEGIN:VEVENT
UID:uid@something.unique
DTSTAMP:19900101T180000
DTSTART:20230419T180000
SUMMARY:My summary
END:VEVENT
END:VCALENDAR
- Open gnome-calendar
- Add the
test.ics
file (Calendars > Manage calendars > Add calendar...; select the file and press "Add") - If you go to the week of the 19.04.2023 the event is not shown and you receive this error message (in the console):
(gnome-calendar:131516): GcalWeekHeader-WARNING **: 15:08:32.965: Error adding event 'My summary' to the week header
What happened
It does not show the event.
What did you expect to happen
Gnome Calendar should show the event.