-
Bug
-
Resolution: Fixed
-
P4
-
7
-
b43
-
x86
-
linux
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8018707 | 7u45 | Deven You | P4 | Closed | Fixed | b01 |
JDK-8004165 | 7u40 | Magdalena Goldyn | P4 | Closed | Fixed | b06 |
FULL PRODUCT VERSION :
openjdk version "1.8.0-internal-fastdebug"
OpenJDK Runtime Environment (build 1.8.0-internal-fastdebug-deven_2012_04_28_09_59-b00)
OpenJDK Server VM (build 24.0-b07-fastdebug, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux deven 3.2.0-24-generic #38-Ubuntu SMP Tue May 1 16:21:07 UTC 2012 i686 i686 i386 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
dots are missed in the datetime for Slovanian Locale. Tester gave the screenshot which is Marked with the problematic lines in red color [Uploaded to jira]. In English, the days are marked with st, nd, rd, th.... (1st, 2nd, 3rd, 4th, 5th, 6th), so it should be 23rd May. But in Slovenian, those marked lines should display 23. maj (1., 2., 3., 4.). Note the dot after number. Without dots, the output basically says Twenty-three May instead of the Twenty-third of May.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
RECREATION STEPS
1) Run the SlovenianFormatDataTest.java as follow:
java -Duser.language=sl -Duser.region=SI SlovenianFormatDataTest
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expected: Date should be marked with dot(.).
ACTUAL -
Actual : Dots are not printed.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.text.DateFormat;
import java.util.Date;
import java.util.Locale;
public class SlovenianFormatDataTest {
/**
* @param args
*/
public static void main(String[] args) {
DateFormat sdf = DateFormat.getDateInstance(DateFormat.FULL, new Locale("sl", "SI"));
String dateString = sdf.format(new Date());
System.out.println(dateString);
}
}
---------- END SOURCE ----------
openjdk version "1.8.0-internal-fastdebug"
OpenJDK Runtime Environment (build 1.8.0-internal-fastdebug-deven_2012_04_28_09_59-b00)
OpenJDK Server VM (build 24.0-b07-fastdebug, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Linux deven 3.2.0-24-generic #38-Ubuntu SMP Tue May 1 16:21:07 UTC 2012 i686 i686 i386 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
dots are missed in the datetime for Slovanian Locale. Tester gave the screenshot which is Marked with the problematic lines in red color [Uploaded to jira]. In English, the days are marked with st, nd, rd, th.... (1st, 2nd, 3rd, 4th, 5th, 6th), so it should be 23rd May. But in Slovenian, those marked lines should display 23. maj (1., 2., 3., 4.). Note the dot after number. Without dots, the output basically says Twenty-three May instead of the Twenty-third of May.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
RECREATION STEPS
1) Run the SlovenianFormatDataTest.java as follow:
java -Duser.language=sl -Duser.region=SI SlovenianFormatDataTest
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Expected: Date should be marked with dot(.).
ACTUAL -
Actual : Dots are not printed.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
import java.text.DateFormat;
import java.util.Date;
import java.util.Locale;
public class SlovenianFormatDataTest {
/**
* @param args
*/
public static void main(String[] args) {
DateFormat sdf = DateFormat.getDateInstance(DateFormat.FULL, new Locale("sl", "SI"));
String dateString = sdf.format(new Date());
System.out.println(dateString);
}
}
---------- END SOURCE ----------
- backported by
-
JDK-8004165 dots are missed in the datetime for Slovanian
-
- Closed
-
-
JDK-8018707 dots are missed in the datetime for Slovanian
-
- Closed
-