diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/models/Event.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/models/Event.kt index 01e617bd5..4e6751764 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/models/Event.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/models/Event.kt @@ -80,7 +80,7 @@ data class Event( while (newDateTime.dayOfMonth().maximumValue < Formatter.getDateTimeFromTS(original.startTS).dayOfMonth().maximumValue) { newDateTime = newDateTime.plusMonths(repeatInterval / MONTH) - newDateTime = newDateTime.withDayOfMonth(newDateTime.dayOfMonth().maximumValue) + newDateTime = newDateTime.withDayOfMonth(currStart.dayOfMonth) } return newDateTime }