mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 08:13:50 +00:00
CalendarEvent/query reads `after`/`before` as local date-times in the request's `timeZone`, and Stalwart silently drops a `Z` or offset. The proactive alert fetch and the contact activity panel sent UTC strings, so their windows were shifted by the user's UTC offset (two hours in Berlin in summer). UTC and offset bounds are now converted to the wall clock of the request time zone before the query is sent. With server-side expansion, a range with more than `maxRecurrenceExpansions` occurrences (a daily series over ten years) failed the whole query with `invalidArguments`, and the calendar showed nothing. The query now falls back to the unexpanded series, which the calendar expands on the client as it does for older servers. The query also stopped at a fixed 1000 ids. Without an explicit limit it now pages until the range is complete.