fix(util-frontend): improve formatting

Co-authored-by: Adam Stachowicz <saibamenppl@gmail.com>
pull/391/head
Bert Verhelst 3 years ago committed by GitHub
parent a7674755ba
commit 5969e913b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save