-
Bug
-
Resolution: Fixed
-
P4
-
1.1.7, 1.3.0
-
b12
-
generic, x86
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2149456 | 7 | Masaki Katakai | P4 | Closed | Fixed | b118 |
JDK-2159195 | OpenJDK6 | Jiri Tusla | P4 | Resolved | Fixed | b06 |
JDK-2143001 | 5.0-pool | Abhijit Saha | P4 | Closed | Cannot Reproduce | |
JDK-2201059 | 1.4.2_18 | Abhijit Saha | P4 | Resolved | Fixed | b06 |
JDK-2157736 | 1.4.2_17-rev | Abhijit Saha | P4 | Closed | Fixed | b12 |
Run the below program. The output
GyMdkHmsSEDFwWahKz, dd MMMM yyyy
GanjkHmsSEDFwWxhKz, jj nnnn aaaa
shows that the DateFormatSymbol for month in the French
language locale is 'n'; this should be 'M' (for mois).
'n' is not at all mnemonic for mois.
'M' is not used in the localized pattern characters.
import java.text.*;
import java.util.Locale;
public class DateSymbols
{
public static void main(String argv[])
{
info(Locale.US);
info(Locale.FRENCH);
}
static void info(Locale locale)
{
DateFormatSymbols syms = new DateFormatSymbols(locale);
String mnemonics = syms.getLocalPatternChars();
String s = new SimpleDateFormat("dd MMMM yyyy", locale).toLocalizedPattern();
System.out.println(mnemonics + ", " + s);
}
}
(Review ID: 56312)
======================================================================
pat.cashman@Ireland 2000-12-20
- backported by
-
JDK-2159195 localized DateFormatSymbols for fr_FR is wrong
-
- Resolved
-
-
JDK-2201059 localized DateFormatSymbols for fr_FR is wrong
-
- Resolved
-
-
JDK-2143001 localized DateFormatSymbols for fr_FR is wrong
-
- Closed
-
-
JDK-2149456 localized DateFormatSymbols for fr_FR is wrong
-
- Closed
-
-
JDK-2157736 localized DateFormatSymbols for fr_FR is wrong
-
- Closed
-
- relates to
-
JDK-4265184 DateFormat: localPatternChars for German locale aren't obvious
-
- Closed
-
-
JDK-4312282 Doc: localPatternChars description should be in DateFormat API doc
-
- Open
-
-
JDK-4431398 problems in displaying French characters in JDK 1.3.
-
- Closed
-
-
JDK-6369299 java.text.SimpleDateFormat: toLocalizedPattern() returns inappropriate string for many locales
-
- Closed
-
-
JDK-6289803 DateFormatSymbols of Chinese locale is not suitable
-
- Closed
-