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

Commit b193e35e authored by Owen Lin's avatar Owen Lin
Browse files

Fix 5654631. It forgot to consider the year in formatDateRange.

Change-Id: I494e3ecc7a2e7c418ed61930ffd7311338c11783
fix: 5654631
parent b3b66af2
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));
        }