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 , 12 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 12 years ago
Cc: | added |
---|
comment:5 by , 12 years ago
Keywords: | localflavorsplit added |
---|---|
Resolution: | → invalid |
Status: | assigned → closed |
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!
https://github.com/django/django/pull/237