-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.1.8
-
sparc
-
solaris_2.6
JDK Version: jdk118
OS: Solaris 2.6
Locale: C, zh
In this build, using TimeZone.getDefault() to get TimeZone for Simplified
Chinese (LANG=zh) locale (java locale should be zh_CN), we will get
wrong TimeZone as "CST". In fact CST is a TimeZone of USA.
In jdk1.2fcs, the TimeZone for PRC in default is Asia/Shanghai (GMT+08:00).
That is, if view the demo Clock in jdk1.1.8 packages, you will got
a wrong date & time value, in fact, it display a date & time of a
area of USA for PRC.
Please try demo Clock in Solaris 2.6 zh locale. (TZ=PRC)
jim.hu@prc 1998-12-11
OS: Solaris 2.6
Locale: C, zh
In this build, using TimeZone.getDefault() to get TimeZone for Simplified
Chinese (LANG=zh) locale (java locale should be zh_CN), we will get
wrong TimeZone as "CST". In fact CST is a TimeZone of USA.
In jdk1.2fcs, the TimeZone for PRC in default is Asia/Shanghai (GMT+08:00).
That is, if view the demo Clock in jdk1.1.8 packages, you will got
a wrong date & time value, in fact, it display a date & time of a
area of USA for PRC.
Please try demo Clock in Solaris 2.6 zh locale. (TZ=PRC)
jim.hu@prc 1998-12-11
- duplicates
-
JDK-4167800 On Japan NT, time zone always JST
- Closed