Skip to content

Fix #108: ICSParser VALARM export uses reminder.minutesBefore#114

Merged
thedhanawada merged 1 commit intomasterfrom
fix/issue-108-valarm-reminder
Mar 20, 2026
Merged

Fix #108: ICSParser VALARM export uses reminder.minutesBefore#114
thedhanawada merged 1 commit intomasterfrom
fix/issue-108-valarm-reminder

Conversation

@thedhanawada
Copy link
Copy Markdown
Collaborator

Fix

Changed reminder.minutes to reminder.minutesBefore in ICSParser.js line 235.

The Event class normalizes all reminders to use minutesBefore as the canonical property (Event.js:162, 704, 904), but the ICS export was reading reminder.minutes which is undefined after normalization. This caused all VALARM triggers to default to 15 minutes regardless of the actual reminder setting.

Files Changed

  • core/ics/ICSParser.js — 1 line changed

Fixes #108

ICSParser.eventToICS() used reminder.minutes but Event normalizes
reminders to use reminder.minutesBefore. This caused all VALARM
triggers to fall back to the default 15 minutes.

Fixes #108
@thedhanawada thedhanawada merged commit 1ded396 into master Mar 20, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ICSParser VALARM export uses reminder.minutes instead of minutesBefore

1 participant