Repository navigation
Replace @vvo/tzdb with Intl timezone APIs - #12
Merged
Merged
Conversation
5 tasks
Collaborator
Author
/ponytail-review
net: -1 dependency. Ship.
|
Igloczek
force-pushed
the
task/014-replace-tzdb-with-intl
branch
from
June 30, 2026 12:03
409a37d to
5e82d9a
Compare
Remove the @vvo/tzdb dependency and build the timezone dropdown from
Intl.supportedValuesOf('timeZone') with a static fallback for older engines.
Derive UTC offsets via Intl.DateTimeFormat formatToParts instead of the
hand-rolled toLocaleString hack.
Igloczek
force-pushed
the
task/014-replace-tzdb-with-intl
branch
from
June 30, 2026 12:15
5e82d9a to
46c0120
Compare
Igloczek
added a commit
that referenced
this pull request
Aug 8, 2026
Replace @vvo/tzdb with Intl timezone APIs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements tasks/014-replace-tzdb-with-intl.md from the ponytail audit backlog.
Goal
Remove the
@vvo/tzdbdependency and hand-rolled offset helper inutil-frontend.ts.Scope
getTimeZones()usage insrc/components/settings/General.vueandsrc/pages/EditMaintenance.vue.Intl.supportedValuesOf('timeZone')(with fallback list if needed for older engines).getTimezoneOffset()hack withIntl.DateTimeFormat/formatToPartsoffset derivation.@vvo/tzdbfrompackage.json.Acceptance criteria
@vvo/tzdbabsent frompackage.jsonandbun.lock.bun run lintpasses.bun run build:frontendsucceeds.Depends on
Nothing.
Verification
bun run lint bun run build:frontend rg "@vvo/tzdb|getTimezoneOffset" src package.jsonAudit reference
Finding #19 —
@vvo/tzdb+ offset helper.