mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2024-12-27 00:33:53 +01:00
fix #797, fix some glitch related to monthly repetition at the end of the month
This commit is contained in:
parent
411490000f
commit
0cc0aa96df
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user