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

Commit 658beccd authored by Paul Sliwowski's avatar Paul Sliwowski Committed by Android (Google) Code Review
Browse files

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

Merge "Fix bug where recurrent event won't allow events with duration of 0." into ics-ub-calendar-eggplant
parents 21270b87 9f24ae76
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)