-
Type:
Bug
-
Status: Closed
-
Resolution: Duplicate
-
Affects Version/s: 6.1.20 EE GA2
-
Fix Version/s: 6.1.30 EE GA3
-
Component/s: Legacy Components > Administration UI
-
Labels:None
Overview
Time Zone labels are not sorted according to UTC offset.
The Time Zone labels are generated using timezone ID values in portal property "time.zones".
However, the Time Zone labels are not sorted by UTC offset; they are displayed according to the ordering of timezone ID values and can appear out of order according to their UTC offset.
Time Zone labels should be sorted according to UTC offset to make it easier to select the required time zone when scrolling up and down the list.
Example
The timezone ID "Australia/Perth " with UTC offset +08:00 is displayed out of order in the Time Zone options on page at
Control Panel > Portal Settings > Display Settings
The timezone ID "Australia/Perth" should appear in the Time Zone list according to UTC offset as follows:
. . . (UTC +08:00) China Standard Time (UTC +08:00) Western Standard Time (Australia) (UTC +09:00) Japan Standard time . . .
However, it appears out of order according to UTC offset as follows:
. . . (UTC +08:00) China Standard Time (UTC +09:00) Japan Standard time . . . (UTC +10:00) Eastern Standard Time (Australia) . . . (UTC +08:00) Western Standard Time (Australia) . . .
Sample Time Zones in Portal Properties
#
# Specify the available time zones. The specified ids must match those from
# the class java.util.TimeZone.
#
time.zones=\
Pacific/Midway,\
Pacific/Honolulu,\
America/Anchorage,\
America/Los_Angeles,\
America/Denver,\
America/Chicago,\
America/New_York,\
America/Caracas,\
America/Puerto_Rico,\
America/St_Johns,\
America/Sao_Paulo,\
America/Noronha,\
Atlantic/Azores,\
UTC,\
Europe/Lisbon,\
Europe/Paris,\
Europe/Istanbul,\
Asia/Jerusalem,\
Asia/Baghdad,\
Asia/Tehran,\
Asia/Dubai,\
Asia/Kabul,\
Asia/Karachi,\
Asia/Calcutta,\
Asia/Katmandu,\
Asia/Dhaka,\
Asia/Rangoon,\
Asia/Saigon,\
Asia/Shanghai,\
Asia/Tokyo,\
Asia/Seoul,\
Australia/Adelaide,\
Australia/Brisbane,\
Australia/Broken_Hill,\
Australia/Darwin,\
Australia/Eucla,\
Australia/Hobart,\
Australia/Lord_Howe,\
Australia/Melbourne,\
Australia/Perth,\
Australia/Sydney,\
Australia/Tasmania,\
Pacific/Guadalcanal,\
Pacific/Auckland,\
Pacific/Enderbury,\
Pacific/Kiritimati
- duplicates
-
LPS-30815 Sort time zones when displaying them, first by offset and then alphabetically based on the locale display name of the time zone
- Closed