JDK-4112136 : incorrect time format for FR_CA locale
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 1.2beta3,1.2.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_2.5.1,solaris_2.6
  • CPU: sparc
  • Submitted: 1998-02-13
  • Updated: 1998-02-27
  • Resolved: 1998-02-27
Related Reports
Duplicate :  
Description

Name: laC46010			Date: 02/13/98



JDK12beta3F fails to pass the following JCK12ea2 test:

api/java_util/localeData/coreLocale.html#fr_CA 

The test outputs:

long format time returned: 09:23:00 GMT-05:00
full format time returned: 9 h 23 GMT-05:00
testCollator: Passed. OKAY
testTimeFormat: Failed. 2 Time Format tests failed. See result log for details
STATUS:Failed. 1 out of 2 tests failed.  First test that failed: testTimeFormat

Correct formats should be as following:
  long format time returned: 09:23:00 EST
  full format time returned: 9 h 23 EST

The difference beetwen returned formats and expected formats is format
of TimeZone.

Hook 5(hook5): test
======================================================================

Comments
EVALUATION The problem here is that we don't have any localized time zone names. We reverted from "EST" to "GMT-5:00" because "EST" was wrong, or at least, we couldn't confirm one way or the other. The problem is that we don't know what French-speaking Canadians call Eastern Standard Time. For any time zone where we don't have a localized name, it was decided it would be better to fall back on an offset from GMT than to fall back on a (possibly bogus) American name. This is a specific instance of a general problem that will only be fixed when we get localized time zone names. Until that happens, this isn't a bug. I've opened an RFE for localized time zone names, and I'm closing this bug as a duplicate of that RFE. richard.gillam@eng 1998-02-26
26-02-1998