chore(webui): remove useless timezone assignment

This commit is contained in:
Xubin Ren 2026-06-02 16:02:58 +08:00
parent 8bc4a80035
commit 7aa5e620be

View File

@ -4755,7 +4755,7 @@ function timezonesWithCurrent(current: string): string[] {
const intl = Intl as typeof Intl & { const intl = Intl as typeof Intl & {
supportedValuesOf?: (key: "timeZone") => string[]; supportedValuesOf?: (key: "timeZone") => string[];
}; };
let values: string[] = []; let values: string[];
try { try {
values = intl.supportedValuesOf?.("timeZone") ?? []; values = intl.supportedValuesOf?.("timeZone") ?? [];
} catch { } catch {