Browse Source
fix(util-frontend): improve formatting
Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
pull/391/head
Bert Verhelst
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
3 deletions
-
src/util-frontend.ts
|
|
@ -22,7 +22,6 @@ export function timezoneList() { |
|
|
|
let result = []; |
|
|
|
|
|
|
|
for (let timezone of timezones) { |
|
|
|
|
|
|
|
try { |
|
|
|
let display = dayjs().tz(timezone.tzCode).format("Z"); |
|
|
|
|
|
|
@ -33,9 +32,8 @@ export function timezoneList() { |
|
|
|
}) |
|
|
|
} catch (e) { |
|
|
|
console.error(e.message); |
|
|
|
console.log("Skip this timezone") |
|
|
|
console.log("Skip this timezone"); |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
result.sort((a, b) => { |
|
|
|