Opened 15 years ago
Closed 15 years ago
#15640 closed Bug (fixed)
New initial digit in Spain phone numbers
| Reported by: | fenikso | Owned by: | nobody |
|---|---|---|---|
| Component: | contrib.localflavor | Version: | dev |
| Severity: | Normal | Keywords: | phone digit |
| Cc: | Triage Stage: | Ready for checkin | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
In django/contrib/localflavor/es/forms.py, the ESPhoneNumberField class allow only phone numbers where first digit is 6, 8 or 9.
Before ending year 2011 Spain will start to use cell numbers where first digit is 7 (in addition of actual 6).
Attachments (2)
Change History (8)
by , 15 years ago
comment:1 by , 15 years ago
| Has patch: | set |
|---|---|
| Needs tests: | set |
| Patch needs improvement: | set |
| Triage Stage: | Unreviewed → Accepted |
Accepting as per http://en.wikipedia.org/wiki/Telephone_numbers_in_Spain#Mobile_Phones
Could you please post a diff patch instead of the whole modified file? Please also provide some tests.
comment:2 by , 15 years ago
| Type: | → Bug |
|---|
comment:3 by , 15 years ago
| Severity: | → Normal |
|---|
comment:4 by , 15 years ago
| Easy pickings: | unset |
|---|---|
| Needs tests: | unset |
| Patch needs improvement: | unset |
| Version: | 1.3-rc1 → SVN |
comment:5 by , 15 years ago
| Triage Stage: | Accepted → Ready for checkin |
|---|
Note:
See TracTickets
for help on using tickets.
Addition of digit "7" on phone number