Merge branch 'feature/timezones-package'

This commit is contained in:
LouisLam 2021-09-13 19:56:57 +08:00
commit 728636de06
3 changed files with 882 additions and 179 deletions

1
.gitignore vendored
View File

@ -7,5 +7,4 @@ dist-ssr
/data /data
!/data/.gitkeep !/data/.gitkeep
/uptime-kuma
.vscode .vscode

1057
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -30,8 +30,7 @@ export function timezoneList() {
time: getTimezoneOffset(timezone.tzCode), time: getTimezoneOffset(timezone.tzCode),
}) })
} catch (e) { } catch (e) {
console.error(e.message); console.log("Skip Timezone: " + timezone.tzCode);
console.log("Skip this timezone");
} }
} }