Ticket #6597 (closed defect: fixed)

Bug contains 2 commit(s) | SVN Diffs for #6597

 

Opened 1 year ago

Last modified 1 year ago

TestDisplayNamesMeta failure

Reported by: yoshito Assigned to: yoshito
Priority: major Milestone: 4.1.2
Component: formatting Version: Current
Keywords: Cc:
Load: Xref: 6644
Java Version: Operating System:
Project (C/J): ICU4C Weeks:
Review: srl

Description

The test case TestDisplayNamesMeta failed on Oct 27, 2008. The test worked OK with ICU4C source/test case in last week.

         Incorrect time zone display name.  zone = "Europe/London",
            locale = "en",   style = SHORT,  Summertime = 1
            Expected "GMT+01:00",    Got "PDT"

         Incorrect time zone display name.  zone = "Europe/London",
            locale = "en",   style = LONG,  Summertime = 1
            Expected "British Summer Time",    Got "Pacific Daylight Time"

         Incorrect time zone display name.  zone = "Europe/Helsinki",
            locale = "en",   style = SHORT,  Summertime = 1
            Expected "GMT+03:00",    Got "PDT"

         Incorrect time zone display name.  zone = "Europe/Helsinki",
            locale = "en",   style = LONG,  Summertime = 1
            Expected "Eastern European Summer Time",    Got "Pacific Daylight Ti
me"

         Note: Errors could be the result of changes to zoneStrings locale data

      ---ERRORS (5) in TestDisplayNamesMeta

The problem was caused by SimpleDateFormat instance does not use the target time zone when

- Requested type is DST - The time zone is currently not in DST

Attachments

Change History

10/27/08 08:22:39 changed by yoshito

  • revw set to srl.

11/07/08 15:24:02 changed by srl

  • status changed from new to closed.
  • resolution set to fixed.

12/01/08 08:27:09 changed by yoshito

  • xref set to 6644.

ICU4J also has the same problem, but no equivalent test case available. See ticket#6644.


Add/Change #6597 (TestDisplayNamesMeta failure)




Anti spam check: