harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Catherine Hope (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-6269) [classlib][luni] Default GMT TimeZone has no display name defined
Date Sat, 11 Jul 2009 19:17:14 GMT
[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