From 5969e913b5fc53693683bcdf1bfb5e55bb4bcb7c Mon Sep 17 00:00:00 2001 From: Bert Verhelst Date: Sun, 12 Sep 2021 15:19:27 +0200 Subject: [PATCH] fix(util-frontend): improve formatting Co-authored-by: Adam Stachowicz --- src/util-frontend.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/util-frontend.ts b/src/util-frontend.ts index 8e7b1e102..d1d915da6 100644 --- a/src/util-frontend.ts +++ b/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) => {