diff --git a/Calendr/Events/ContextMenu/ReminderOptionsViewModel.swift b/Calendr/Events/ContextMenu/ReminderOptionsViewModel.swift index 96885f9..06ac3ea 100644 --- a/Calendr/Events/ContextMenu/ReminderOptionsViewModel.swift +++ b/Calendr/Events/ContextMenu/ReminderOptionsViewModel.swift @@ -66,7 +66,12 @@ class ReminderOptionsViewModel: BaseContextMenuViewModel { return calendarService.completeReminder(id: event.id, complete: true) case .remind(let dateComponents): - let date = dateProvider.calendar.date(byAdding: dateComponents, to: dateProvider.now)! + guard + let truncated = dateProvider.calendar.dateInterval(of: .minute, for: dateProvider.now)?.start, + let date = dateProvider.calendar.date(byAdding: dateComponents, to: truncated) + else { + return .empty() + } return calendarService.rescheduleReminder(id: event.id, to: date) } }