United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6531255 Need to update timezone display names for en_CA locale
JDK-6531255 : Need to update timezone display names for en_CA locale

Details
Type:
Bug
Submit Date:
2007-03-06
Status:
Closed
Updated Date:
2011-03-08
Project Name:
JDK
Resolved Date:
2011-03-08
Component:
globalization
OS:
generic
Sub-Component:
translation
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
7
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
Two timezones, "IET" and "America/Indianapolis", started using dayling saving time.
Timezone display names for en_CA locale need to be updated.

The same update is necessary in 6.0update, 5.0update, and 1.4.2update.

                                    

Comments
SUGGESTED FIX

In TimeZoneNames_en_CA.java or DateFormatZoneData_en_CA.java,
<          "Eastern Standard Time", "EST" /*Indianapolis*/}},
---
>          "Eastern Daylight Time", "EDT" /*Indianapolis*/}},
                                     
2007-03-06
EVALUATION

The bug happens in most of the locales.

% grep IET * | grep EST
TimeZoneNames_de.java:      {"IET", EST},
TimeZoneNames_en_CA.java:           {"IET", new String[] {/*--America/Indianapolis--*/ "Eastern Standard Time", "EST",
TimeZoneNames_es.java:      {"IET", EST},
TimeZoneNames_fr.java:      {"IET", EST},
TimeZoneNames_it.java:      {"IET", EST},
TimeZoneNames_ja.java:      {"IET", EST},
TimeZoneNames.java:         {"IET", EST},
TimeZoneNames_ko.java:      {"IET", EST},
TimeZoneNames_sv.java:      {"IET", EST},
TimeZoneNames_zh_CN.java:           {"IET", EST},
TimeZoneNames_zh_TW.java:           {"IET", EST},

% grep Indianapolis *
TimeZoneNames_de.java:      {"America/Indianapolis", EST},
TimeZoneNames_de.java:      {"America/Indiana/Indianapolis", EST},
TimeZoneNames_en_CA.java:           {"IET", new String[] {/*--America/Indianapolis--*/ "Eastern Standard Time", "EST",
TimeZoneNames_en_CA.java:                                 "Eastern Standard Time", "EST" /*Indianapolis*/}},
TimeZoneNames_en_CA.java:           {"America/Indianapolis", new String[] {"Eastern Standard Time", "EST",
TimeZoneNames_en_CA.java:                                                  "Eastern Standard Time", "EST" /*Indianapolis*/}},
TimeZoneNames_es.java:      {"America/Indianapolis", EST},
TimeZoneNames_es.java:      {"America/Indiana/Indianapolis", EST},
TimeZoneNames_fr.java:      {"America/Indianapolis", EST},
TimeZoneNames_fr.java:      {"America/Indiana/Indianapolis", EST},
TimeZoneNames_it.java:      {"America/Indianapolis", EST},
TimeZoneNames_it.java:      {"America/Indiana/Indianapolis", EST},
TimeZoneNames_ja.java:      {"America/Indianapolis", EST},
TimeZoneNames_ja.java:      {"America/Indiana/Indianapolis", EST},
TimeZoneNames.java:         {"America/Indianapolis", EST},
TimeZoneNames.java:         {"America/Indiana/Indianapolis", EST},
TimeZoneNames_ko.java:      {"America/Indianapolis", EST},
TimeZoneNames_ko.java:      {"America/Indiana/Indianapolis", EST},
TimeZoneNames_sv.java:      {"America/Indianapolis", EST},
TimeZoneNames_sv.java:      {"America/Indiana/Indianapolis", EST},
TimeZoneNames_zh_CN.java:           {"America/Indianapolis", EST},
TimeZoneNames_zh_CN.java:           {"America/Indiana/Indianapolis", EST},
TimeZoneNames_zh_TW.java:           {"America/Indianapolis", EST},
TimeZoneNames_zh_TW.java:           {"America/Indiana/Indianapolis", EST},
                                     
2007-03-06
EVALUATION

wrong analysis in the first evaluation. This is still en_CA specific bug. Below is comments from ###@###.###

The locale data for en_CA has the following lines:
   {"IET", new String[] {/*--America/Indianapolis--*/ "Eastern Standard Time", "EST",
                         "Eastern Standard Time", "EST" /*Indianapolis*/}},

   {"America/Indianapolis", new String[] {"Eastern Standard Time", "EST",
                                          "Eastern Standard Time", "EST" /*Indianapolis*/}},
while locale data for other locales have the following:
   String EST[] = new String[] {"Eastern Standard Time", "EST",
                                "Eastern Daylight Time", "EDT"};


Yes, this is en_CA specific problem.
The third and forth items in the String array in datafile for en_CA
should be replaced with "Eastern Daylight Time" and "EDT".
                                     
2007-03-06



Hardware and Software, Engineered to Work Together