Skip to content

Fix phone number format according to Anatel#62

Merged
VitorLuizC merged 1 commit intoVitorLuizC:masterfrom
dgadelha:master
Jun 20, 2025
Merged

Fix phone number format according to Anatel#62
VitorLuizC merged 1 commit intoVitorLuizC:masterfrom
dgadelha:master

Conversation

@dgadelha
Copy link
Copy Markdown
Contributor

@dgadelha dgadelha commented Feb 3, 2024

According to the Brazilian government's page, https://www.gov.br/anatel/pt-br/regulado/numeracao/plano-de-numeracao-brasileiro, there is no space after the first digit when the phone has a length of 9 digits.

Nove dígitos [abcde-mcdu], para o caso do Serviço Móvel Pessoal (telefonia móvel celular).

This also follows Google's libphonenumber default National formatting for brazilian numbers, as demoed here.

This is also documented in several other documents issued by the government, like:

@dealcmaia
Copy link
Copy Markdown

up cc @VitorLuizC

@VitorLuizC
Copy link
Copy Markdown
Owner

Valeu por me marcar, acho que dei unwatch sem querer no repositório.

@VitorLuizC VitorLuizC merged commit 065a60e into VitorLuizC:master Jun 20, 2025
@VitorLuizC
Copy link
Copy Markdown
Owner

VitorLuizC commented Jun 20, 2025

Acabei de publicar na versão 0.13.1.

FYI @dgadelha @dealcmaia

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.

3 participants