Opened 4 years ago

Closed 4 years ago

#18536 closed Bug (invalid)

BRPhoneNumberField: Telephone numbers with area code 11 must start with an extra 9 digit

Reported by: Sergio Oliveira Owned by: Sergio Oliveira
Component: contrib.localflavor Version: master
Severity: Normal Keywords: localflavorsplit
Cc: eduardocereto@… Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Until last year all telephone numbers in Brazil should have had the format XX-XXXX-XXXX but from now on all phone numbers starting with area code 11 must have the format 11-9XXXX-XXXX. All the other area codes will main the previous mask.

All production instances using this form field are currently broken.

Official announcement (in pt-br): http://www.anatel.gov.br/Portal/exibirPortalNivelDois.do?acao=&codItemCanal=1722&codigoVisao=4&nomeVisao=Cidad

Change History (5)

comment:1 Changed 4 years ago by Claude Paroz

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Triage Stage: UnreviewedAccepted

comment:2 Changed 4 years ago by Sergio Oliveira

Owner: changed from nobody to Sergio Oliveira
Status: newassigned

comment:3 Changed 4 years ago by Eduardo Cereto

Cc: eduardocereto@… added

comment:4 Changed 4 years ago by Eduardo Cereto

Has patch: set
Last edited 4 years ago by Eduardo Cereto (previous) (diff)

comment:5 Changed 4 years ago by Aymeric Augustin

Keywords: localflavorsplit added
Resolution: invalid
Status: assignedclosed

django.contrib.localflavor is now deprecated — see https://docs.djangoproject.com/en/dev/ref/contrib/localflavor/

A repository was created for each localflavor at https://github.com/django/django-localflavor-? (Replace with the country code.)

If you're still interested in this ticket, could you create a pull request on that repository?

Sorry for not resolving this issue earlier, and thanks for your input!

Note: See TracTickets for help on using tickets.
Back to Top