From bf2b2cb6ea170a21c0c79f00d4b8354d54b1b97b Mon Sep 17 00:00:00 2001 From: Federico Iosue Date: Thu, 12 Dec 2019 21:00:12 +0100 Subject: [PATCH] Fixed reminders recurrency when choosing non-custom RRULE format --- .../feio/android/omninotes/helpers/date/RecurrenceHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omniNotes/src/main/java/it/feio/android/omninotes/helpers/date/RecurrenceHelper.java b/omniNotes/src/main/java/it/feio/android/omninotes/helpers/date/RecurrenceHelper.java index be69475a01..0d051dbd41 100644 --- a/omniNotes/src/main/java/it/feio/android/omninotes/helpers/date/RecurrenceHelper.java +++ b/omniNotes/src/main/java/it/feio/android/omninotes/helpers/date/RecurrenceHelper.java @@ -84,7 +84,7 @@ public static String buildRecurrenceRuleByRecurrenceOptionAndRule (RecurrenceOpt String recurrenceRule) { if (recurrenceRule == null && recurrenceOption != DOES_NOT_REPEAT) { Frequency freq = Frequency.valueOf(recurrenceOption.toString()); - Recur recur = new Recur(freq, new DateTime()); + Recur recur = new Recur(freq, new DateTime(32519731800000L)); return new RRule(recur).toString().replace("RRULE:", ""); } return recurrenceRule;