-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
1.1.7
-
generic
-
generic
charlotte.odonovan@Ireland 1998-07-27
In the jdk (1.1.7) resources there are files called LocaleElements_$locale.java:
which have "AmPmMarkers" defined , but only for:
LocaleElements.java: "AM", // am marker
LocaleElements_ar.java: "\u0635", // am marker
LocaleElements_cs.java: "dop.", // am marker
LocaleElements_el.java: "\u03c0\u03bc", // am marker
LocaleElements_hu.java: "DE", // am marker
LocaleElements_ja.java: "\u5348\u524d", // am marker
LocaleElements_ko.java: "\uc624\uc804", // am marker
LocaleElements_sq.java: "PD", // am marker
LocaleElements_th.java:
There are no AM/PM markers for german, french, spanish, swedish and italien, so the english is picked up.
However, there is no direct translation for AM/PM in these locales as the concept does not exist.
One would have to say
"7 in the morning " as opposed to to "7 AM "
or else the 24 hour clock is used.
If you can make a call to "AmPmMarkers" in german and there is none it should return a string saying so, NOT the english.