ICU-8958 use the correct monthPattern for numeric months

X-SVN-Rev: 31040
This commit is contained in:
Peter Edberg 2011-12-06 08:26:13 +00:00
parent 6dbcc24060
commit 5578f45b2f

View File

@ -1642,7 +1642,7 @@ SimpleDateFormat::subFormat(UnicodeString &appendTo,
UnicodeString monthNumber;
zeroPaddingNumber(currentNumberFormat,monthNumber, value + 1, count, maxIntCount);
_appendSymbolWithMonthPattern(appendTo, 0, &monthNumber, 1,
isLeapMonth, fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternFormatAbbrev], status);
isLeapMonth, fSymbols->fLeapMonthPatterns[DateFormatSymbols::kLeapMonthPatternNumeric], status);
}
break;