diff options
-rw-r--r-- | src/com/android/calendar/event/EditEventHelper.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/calendar/event/EditEventHelper.java b/src/com/android/calendar/event/EditEventHelper.java index b1105914..d72ab5d3 100644 --- a/src/com/android/calendar/event/EditEventHelper.java +++ b/src/com/android/calendar/event/EditEventHelper.java @@ -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) |