mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-26 05:25:56 +00:00
fix(util-frontend): improve formatting
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
a7674755ba
commit
5969e913b5
1 changed files with 1 additions and 3 deletions
|
@ -22,7 +22,6 @@ export function timezoneList() {
|
||||||
let result = [];
|
let result = [];
|
||||||
|
|
||||||
for (let timezone of timezones) {
|
for (let timezone of timezones) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
let display = dayjs().tz(timezone.tzCode).format("Z");
|
let display = dayjs().tz(timezone.tzCode).format("Z");
|
||||||
|
|
||||||
|
@ -33,9 +32,8 @@ export function timezoneList() {
|
||||||
})
|
})
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e.message);
|
console.error(e.message);
|
||||||
console.log("Skip this timezone")
|
console.log("Skip this timezone");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
result.sort((a, b) => {
|
result.sort((a, b) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue