mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-06-13 22:34:06 +00:00
chore(webui): remove useless timezone assignment
This commit is contained in:
parent
8bc4a80035
commit
7aa5e620be
@ -4755,7 +4755,7 @@ function timezonesWithCurrent(current: string): string[] {
|
||||
const intl = Intl as typeof Intl & {
|
||||
supportedValuesOf?: (key: "timeZone") => string[];
|
||||
};
|
||||
let values: string[] = [];
|
||||
let values: string[];
|
||||
try {
|
||||
values = intl.supportedValuesOf?.("timeZone") ?? [];
|
||||
} catch {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user