mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-12149 Check in fixes, reviewed.
X-SVN-Rev: 39000
This commit is contained in:
parent
b17650f34a
commit
25bcac3c50
1 changed files with 1 additions and 6 deletions
|
@ -1200,12 +1200,7 @@ public final class RelativeDateTimeFormatter {
|
|||
unitMap.put(absUnit, dirMap);
|
||||
}
|
||||
if (dirMap.get(Direction.PLAIN) == null) {
|
||||
String displayName = value.toString();
|
||||
// TODO(Travis Keep): This is a hack to get around CLDR bug 6818.
|
||||
if (ulocale.getLanguage().equals("en")) {
|
||||
displayName = displayName.toLowerCase(Locale.ROOT);
|
||||
}
|
||||
dirMap.put(Direction.PLAIN, displayName);
|
||||
dirMap.put(Direction.PLAIN, value.toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue