Merge "Fix 5654631. It forgot to consider the year in formatDateRange." into ics-mr1
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