ICU-12149 Check in fixes, reviewed.

X-SVN-Rev: 39000
This commit is contained in:
Craig Cornelius 2016-07-20 01:35:01 +00:00
parent b17650f34a
commit 25bcac3c50

View file

@ -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());
}
}
}