am 8bb56180: Merge "Fix 5654631. It forgot to consider the year in formatDateRange." into ics-mr1
* commit '8bb56180d208b9264e5a56b49fe06b8471ccaced': Fix 5654631. It forgot to consider the year in formatDateRange.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user