Merge pull request #977 from ddast/master
Always shift end date by one day for all-day events
This commit is contained in:
commit
111c155ea8
|
@ -409,7 +409,7 @@ class CalDAVHelper(val context: Context) {
|
|||
put(CalendarContract.Events.RRULE, repeatRule)
|
||||
}
|
||||
|
||||
if (event.getIsAllDay() && event.endTS > event.startTS)
|
||||
if (event.getIsAllDay() && event.endTS >= event.startTS)
|
||||
event.endTS += DAY
|
||||
|
||||
if (event.repeatInterval > 0) {
|
||||
|
|
Loading…
Reference in New Issue