Sort timezone options strictly alphabetically
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Maintainer-controlled web client version.
|
||||
// Format: YYYY.MM.DD Rn (example: 2026.02.20 R2)
|
||||
window.CHGRID_WEB_VERSION = "2026.02.21 R102";
|
||||
window.CHGRID_WEB_VERSION = "2026.02.21 R103";
|
||||
// Optional display timezone for timestamps. Falls back to America/Detroit if unset/invalid.
|
||||
window.CHGRID_TIME_ZONE = "America/Detroit";
|
||||
|
||||
@@ -147,13 +147,13 @@ const CLOCK_TIME_ZONE_OPTIONS = [
|
||||
'Europe/Helsinki',
|
||||
'Europe/London',
|
||||
'Europe/Moscow',
|
||||
'Pacific/Apia',
|
||||
'Pacific/Auckland',
|
||||
'Pacific/Chatham',
|
||||
'Pacific/Honolulu',
|
||||
'Pacific/Kiritimati',
|
||||
'Pacific/Noumea',
|
||||
'Pacific/Pago_Pago',
|
||||
'Pacific/Apia',
|
||||
'UTC',
|
||||
] as const;
|
||||
dom.appVersion.textContent = APP_VERSION
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
}
|
||||
```
|
||||
|
||||
- `timeZone`: one of `America/Detroit | America/New_York | America/Indiana/Indianapolis | America/Kentucky/Louisville`.
|
||||
- `timeZone`: one of the supported IANA zones listed below.
|
||||
- `timeZone`: one representative IANA zone per world UTC offset. Includes:
|
||||
`America/Anchorage`, `America/Argentina/Buenos_Aires`, `America/Chicago`, `America/Detroit`,
|
||||
`America/Halifax`, `America/Indiana/Indianapolis`, `America/Kentucky/Louisville`,
|
||||
|
||||
@@ -38,13 +38,13 @@ CLOCK_TIME_ZONE_OPTIONS: tuple[str, ...] = (
|
||||
"Europe/Helsinki",
|
||||
"Europe/London",
|
||||
"Europe/Moscow",
|
||||
"Pacific/Apia",
|
||||
"Pacific/Auckland",
|
||||
"Pacific/Chatham",
|
||||
"Pacific/Honolulu",
|
||||
"Pacific/Kiritimati",
|
||||
"Pacific/Noumea",
|
||||
"Pacific/Pago_Pago",
|
||||
"Pacific/Apia",
|
||||
"UTC",
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user