Opened 12 years ago

Closed 12 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: dev
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 by Claude Paroz, 12 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Sergio Oliveira, 12 years ago

Owner: changed from nobody to Sergio Oliveira
Status: newassigned

comment:3 by Eduardo Cereto, 12 years ago

Cc: eduardocereto@… added

comment:4 by Eduardo Cereto, 12 years ago

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

comment:5 by Aymeric Augustin, 12 years ago

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