TimeZone.getTimeZone(timezone) fails for GMT+8:30 (although spec'ed)

Description

Deleted Component: formatting

There are three problems.
1. Although it is spec'ed to handle GMT+8:30, what it returns is a simple timezone with the ID "GMT" instead of "GMT+8:30". So any subsequent creation from that zone id will fail.
2. Some zones (since 1970) have non-zero seconds, so it should also handle GMT+8:30:21.
3. When it fails, it should return a zone with ID "Etc/Unknown"

Activity

Show:
TracBot
July 1, 2018, 12:14 AM
Trac Comment 1 by —2007-09-27T15:40:26.000Z

#1

TracBot
July 1, 2018, 12:14 AM
Trac Comment 3 by —2007-09-27T15:56:24.000Z
TracBot
July 1, 2018, 12:14 AM
Trac Comment 4 by —2007-09-27T16:10:23.000Z
TracBot
July 1, 2018, 12:14 AM
Trac Comment 6 by —2007-11-28T21:31:24.000Z

The fix was made as a part of #5990.

Fixed

Assignee

Mark Davis

Reporter

Mark Davis

Components

None

Labels

None

Reviewer

None

Priority

major

Time Needed

Hours

Fix versions