-
Bug
-
Resolution: Won't Fix
-
P4
-
7
-
x86
-
windows_xp
FULL PRODUCT VERSION :
1.7.0-ea-b137
ADDITIONAL OS VERSION INFORMATION :
doesn't depend on OS
A DESCRIPTION OF THE PROBLEM :
The time separator in Lithuania is colon ":" not a dot "."
It was mentioned in Bug ID: 6650730 comments
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
import java.util.Locale;
import java.util.Date;
import java.text.DateFormat;
public class Main {
public static void main(String a[]) {
Locale l = new Locale("lt");
Locale.setDefault(l);
System.out.println(DateFormat.getTimeInstance().format(new Date()));
}
}
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
time separated with colons
ACTUAL -
time separated with dots
REPRODUCIBILITY :
This bug can be reproduced always.
SUPPORT :
YES
1.7.0-ea-b137
ADDITIONAL OS VERSION INFORMATION :
doesn't depend on OS
A DESCRIPTION OF THE PROBLEM :
The time separator in Lithuania is colon ":" not a dot "."
It was mentioned in Bug ID: 6650730 comments
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
import java.util.Locale;
import java.util.Date;
import java.text.DateFormat;
public class Main {
public static void main(String a[]) {
Locale l = new Locale("lt");
Locale.setDefault(l);
System.out.println(DateFormat.getTimeInstance().format(new Date()));
}
}
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
time separated with colons
ACTUAL -
time separated with dots
REPRODUCIBILITY :
This bug can be reproduced always.
SUPPORT :
YES