mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8176841: Additional Unicode Language-Tag Extensions
8189134: New system properties for the default Locale extensions 8190918: Retrieve the region specific data regardless of language in locale 8191349: Add a new method in j.t.f.DateTimeFormatter to reflect Unicode extensions Reviewed-by: scolebourne, lancea, rriggs, rgoel, nishjain
This commit is contained in:
parent
3246c46f41
commit
f065141ddc
55 changed files with 3631 additions and 890 deletions
|
@ -672,7 +672,7 @@ public class SimpleDateFormat extends DateFormat {
|
|||
// However, the calendar should use the current default TimeZone.
|
||||
// If this is not contained in the locale zone strings, then the zone
|
||||
// will be formatted using generic GMT+/-H:MM nomenclature.
|
||||
calendar = Calendar.getInstance(TimeZone.getDefault(), loc);
|
||||
calendar = Calendar.getInstance(loc);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue