harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-6269) [classlib][luni] Default GMT TimeZone has no display name defined
Date Wed, 09 Dec 2009 17:21:22 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-6269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12788173#action_12788173
] 

Sebb commented on HARMONY-6269:
-------------------------------

The string "GMT+00:00" is also returned for "zzz" and "zzzz", whereas the RI returns "GMT"
and "Greenwich Mean Time" respectively when using Locale.US.

This has implications for Cookie generation (and causes a test failure in HttpComponents HttpClient).

> [classlib][luni] Default GMT TimeZone has no display name defined
> -----------------------------------------------------------------
>
>                 Key: HARMONY-6269
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6269
>             Project: Harmony
>          Issue Type: Bug
>         Environment: all
>            Reporter: Catherine Hope
>            Priority: Minor
>
> The default TimeZone, GMT, has no display names defined - calling getDisplayName() always
returns "GMT+00:00" instead of "Greenwich Mean Time" or the short form "GMT".  This also has
implications for date formatting - creating a SimpleDateFormat with pattern "z", will display
the time zone as "GMT+00:00" instead of "GMT".  The harmony implementation of TimeZone.getDisplayName()
is deferring to com.ibm.icu.util.TimeZone for the value, which has some long display names
set , but not GMT, so I'm unsure where to fix this.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message