Skip to content

Conversation

@donald
Copy link
Member

I've noticed that the event UIDs are not stable as it is required by RFC 5545. This PR fixes that. Also create the events in a stable order (newest first) to aid in debugging, Some calendars might profit if the relevant current events can be presented to the user right away while the older and mostly historical events are updated later.

Derive each event's UID from its page id instead of letting the ics
library generate a random one on every download. Random UIDs break
calendar sync clients such as vdirsyncer.
The ics library keeps events in a set, so the feed came out in random
order. Order by start date and time, newest first, with the page id as
tie-breaker, and keep that order through serialization.
@donald Donald Buczek (donald) merged commit 137805e into master Oct 9, 2026
Sign in to join this conversation on GitHub.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant