Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9f24ae76 authored by Paul Sliwowski's avatar Paul Sliwowski
Browse files

Fix bug where recurrent event won't allow events with duration of 0.

Bug: 9499422
Change-Id: I9aee638ea074b5a96bcf984c086b104da1ff40bf
parent 97efecdb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -914,7 +914,7 @@ public class EditEventHelper {
        String duration = model.mDuration;

        boolean isAllDay = model.mAllDay;
        if (end > start) {
        if (end >= start) {
            if (isAllDay) {
                // if it's all day compute the duration in days
                long days = (end - start + DateUtils.DAY_IN_MILLIS - 1)