<i18n dev> RFR: 8080774: DateFormat for Singapore/English locale (en_SG) is M/d/yy instead of d/M/yy

Aleksej Efimov aleksej.efimov at oracle.com
Thu Jun 4 15:47:42 UTC 2015


Please review an English Singapore (en_SG) date formats fix [2] in JRE 
locale provider.
According to the latest CLDR data (27.0.1) [3] day should precede month 
in all date formats.
JRE locale provider has different formats that should be fixed 
accordingly - changes in FormatData_en_SG.java.
Existing test case was updated with new date formats for en_SG locale - 
test/sun/text/resources/LocaleData changes.
New regression test was also created for this issue - it tests the JRE 
locale provider and en_SG locale date formats. When jdk9 will start use 
CLDR as a default locale data provider [4] this test might be useful to 
test the old provider. But the addition of this test to test repository 
is a topic for discussion.


[1] JBS: https://bugs.openjdk.java.net/browse/JDK-8080774
[2] Webrev: http://cr.openjdk.java.net/~aefimov/8080774/9/00/
[3] CLDR data (search for en_SG): 
[4] JEP 252: Use CLDR Locale Data by Default: 

More information about the i18n-dev mailing list