Skip to content

Conversation

@github-actions
Copy link
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@obosbbl/format@0.3.1

Patch Changes

  • 3a52b13: allow country code for phone number input in formatPhoneNumber().

    Previously it was unable to format phone numbers with country codes (+47, +46), now it can.
    Note that the country code will not be part of the formatted output.

    // 🇳🇴 example
    formatPhoneNumber("+4700000000"); // => '00 00 00 00'
    
    // 🇸🇪 example
    formatPhoneNumber("+46303123456"); // => '0303-12 34 56'

@github-actions github-actions bot force-pushed the changeset-release/main branch from 2add545 to 948ca3e Compare February 20, 2025 09:37
@alexanbj alexanbj merged commit a4a7471 into main Feb 20, 2025
@alexanbj alexanbj deleted the changeset-release/main branch February 20, 2025 09:39
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.

2 participants