Files
calendula/app
Jean-Luc Makiola 0eec4834a1 fix(reminders): correct all-day lead days, re-arm scans, cap the query window (#75)
- allDayLeadDays no longer reads every multiple of 1440 at face value: our own
  offsets land on one whenever the all-day hour equals the zone's UTC offset
  (20:00 in New York), and a "1 day before" then fired on the day of the event.
  The encoded instant landing on the named hour now decides, and the display
  path decodes through the same function so screen and notification agree.
- Scan after the reminders toggle, the all-day hour and a calendar-permission
  grant — the first cancels the alarm, the last arms none, so a re-enable used
  to stay silent until the daily worker.
- Cap the Instances query window at a year past the lookahead; the longest
  offset comes from any row in the provider, including imported nonsense.
- Give the reminder action intents a per-reminder data URI: PendingIntent
  equality ignores extras, so a request-code collision shared one alarm.
2026-07-30 16:48:05 +02:00
..