From 274393d146ac2300b723cf4270f9bafeb23211f8 Mon Sep 17 00:00:00 2001 From: conan Date: Thu, 12 Jan 2023 13:37:10 -0500 Subject: [PATCH] fix: android event reminder times --- android/src/main/java/com/calendarevents/RNCalendarEvents.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/src/main/java/com/calendarevents/RNCalendarEvents.java b/android/src/main/java/com/calendarevents/RNCalendarEvents.java index ef3d499..38988a2 100644 --- a/android/src/main/java/com/calendarevents/RNCalendarEvents.java +++ b/android/src/main/java/com/calendarevents/RNCalendarEvents.java @@ -907,7 +907,7 @@ private WritableNativeArray findReminderByEventId(String eventID, long startDate continue; } - cal.add(Calendar.MINUTE, minutes); + cal.add(Calendar.MINUTE, -minutes); alarm.putString("date", sdf.format(cal.getTime())); results.pushMap(alarm); }