-
Bug
-
Resolution: Fixed
-
P3
-
8u251, 16
-
b11
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8252370 | 15.0.2 | Leo Jiang | P3 | Resolved | Fixed | b01 |
JDK-8252673 | 15.0.1 | Leo Jiang | P3 | Resolved | Fixed | b08 |
JDK-8252571 | 11.0.10-oracle | Leo Jiang | P3 | Resolved | Fixed | b01 |
JDK-8253300 | 11.0.10 | Leo Jiang | P3 | Resolved | Fixed | b01 |
JDK-8253259 | openjdk8u282 | Leo Jiang | P3 | Resolved | Fixed | b01 |
JDK-8252688 | 8u281 | Leo Jiang | P3 | Resolved | Fixed | b01 |
JDK-8257326 | emb-8u281 | Leo Jiang | P3 | Resolved | Fixed | team |
JDK-8253436 | 7u291 | Leo Jiang | P3 | Resolved | Fixed | b01 |
JDK-8254064 | 7u281 | Leo Jiang | P3 | Resolved | Fixed | b31 |
JDK-8253686 | 7u271 | Leo Jiang | P3 | Closed | Fixed | b31 |
Test:
import java.util.Locale;
import java.util.Date;
import java.util.GregorianCalendar;
import java.text.SimpleDateFormat;
public class Test {
public static void main(String[] args) {
SimpleDateFormat sdf = new SimpleDateFormat("MMMM", new Locale("ar", "JO"));
String d = sdf.format(new GregorianCalendar(2020, 4,1).getTime()); // 0-based
System.out.println(d);
}
}
Expected:
Here is the complete list of wrong Arabic month names.
(0 - Jan, 4 - May)
ar_JO
correct 4 : \u0623\u064A\u0627\u0631
incorrect 4 : \u0646\u0648\u0627\u0631
ar_LB
correct 4 : \u0623\u064A\u0627\u0631
incorrect 4 : \u0646\u0648\u0627\u0631
ar_SY
correct 4 : \u0623\u064A\u0627\u0631
incorrect 4 : \u0646\u0648\u0627\u0631\u0627\u0646
correct 5 : \u062D\u0632\u064A\u0631\u0627\u0646
incorrect 5 : \u062D\u0632\u064A\u0631
Please notice that the month of June has the wrong translation for June too.
This was addressed in Java bug 4164160 which I previously linked here, but it
was not fixed for ar_SY.
- backported by
-
JDK-8252370 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Resolved
-
-
JDK-8252571 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Resolved
-
-
JDK-8252673 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Resolved
-
-
JDK-8252688 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Resolved
-
-
JDK-8253259 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Resolved
-
-
JDK-8253300 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Resolved
-
-
JDK-8253436 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Resolved
-
-
JDK-8254064 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Resolved
-
-
JDK-8257326 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Resolved
-
-
JDK-8253686 Wrong translation for the month of May in ar_JO, ar_LB and ar_SY
-
- Closed
-