Opened 14 years ago
Closed 14 years ago
#15623 closed (fixed)
Wrong province code for Newfoundland in django.contrib.localflavor.ca
Reported by: | Sergiy Kuzmenko | Owned by: | nobody |
---|---|---|---|
Component: | contrib.localflavor | Version: | dev |
Severity: | Keywords: | localflavor | |
Cc: | s.kuzmenko@… | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
"NF" should be "NL" in http://code.djangoproject.com/browser/django/trunk/django/contrib/localflavor/ca/ca_provinces.py#L17
Province code changes several years ago. See http://en.wikipedia.org/wiki/Newfoundland_and_Labrador for reference
Also need new entries in PROVINCES_NORMALIZED to reflect this change:
"nf" : "NL", "nl" : "NL",
Note:
See TracTickets
for help on using tickets.
Yukon is also wrong: "YK" should be "YT".
Official ISO-3166 subdivision names for Canada are listed here: http://en.wikipedia.org/wiki/ISO_3166-2:CA