mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-10-01 01:25:45 -04:00
fix(util-frontend): improve formatting
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
This commit is contained in:
parent
a7674755ba
commit
5969e913b5
@ -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…
Reference in New Issue
Block a user