Skip to content

Repeated all-day events don't show up today if start=None #173

@bolau

Description

@bolau

I'm using icalevents version 0.3.0 installed via pip. I load iCloud .ics files using icalevents.events(url=url, fix_apple=True, sort=True), and I came across a little edge-case bug:

If an all-day occurs today and has a repeat rule (e.g. weekly), it does not show up in the event list if start=None.
Without the repeat rule or with start=datetime.date.today(), it's there.

Here's an example event (tested on 2025-09-22), that's missing on today's list if start=None:

BEGIN:VEVENT
DTSTART;VALUE=DATE:20250922
DTEND;VALUE=DATE:20250924
RRULE:FREQ=WEEKLY
SUMMARY:School
UID:9D33FEDE-9F56-4717-ACD5-3E87AEFC256E
SEQUENCE:0
DTSTAMP:20250922T060544Z
CREATED:20250619T210305Z
LAST-MODIFIED:20250922T060517Z
END:VEVENT

Best, Boris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions