Skip to content

Fix browser timezone capture in whois#81

Merged
roncodes merged 4 commits into
mainfrom
feature/fix-browser-timezone-whois
May 11, 2026
Merged

Fix browser timezone capture in whois#81
roncodes merged 4 commits into
mainfrom
feature/fix-browser-timezone-whois

Conversation

@roncodes
Copy link
Copy Markdown
Member

Summary

  • ensure browser whois lookups always include a timezone when the browser exposes one
  • hydrate cached whois data with browser timezone when provider data omitted it
  • expose currentUser.timezone as the canonical client-side timezone

Verification

  • node_modules/.bin/prettier --check addon/utils/lookup-user-ip.js addon/services/current-user.js tests/unit/utils/lookup-user-ip-test.js tests/unit/services/current-user-test.js
  • node_modules/.bin/eslint --cache-location /private/tmp/ember-core-eslintcache addon/utils/lookup-user-ip.js addon/services/current-user.js tests/unit/utils/lookup-user-ip-test.js tests/unit/services/current-user-test.js

Targeted ember test note: ember test can bind when escalated, but the package test build fails before these tests because vendor.js cannot resolve @ember/string from @ember-data/store. This appears pre-existing in the local test bootstrap.

@roncodes roncodes merged commit c7a07b8 into main May 11, 2026
6 checks passed
@roncodes roncodes deleted the feature/fix-browser-timezone-whois branch May 11, 2026 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant