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

Commit 85c38af1 authored by Owen Lin's avatar Owen Lin Committed by Android Git Automerger
Browse files

am 8bb56180: Merge "Fix 5654631. It forgot to consider the year in formatDateRange." into ics-mr1

* commit '8bb56180':
  Fix 5654631. It forgot to consider the year in formatDateRange.
parents d49a56ce 8bb56180
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1415,7 +1415,7 @@ public class DateUtils
            }
        }

        if (noMonthDay && startMonthNum == endMonthNum) {
        if (noMonthDay && startMonthNum == endMonthNum && startYear == endYear) {
            // Example: "January, 2008"
            return formatter.format("%s", startDate.format(defaultDateFormat));
        }