Skip to content

Commit

Permalink
Remove the region field from CC, CX, HM, NF.
Browse files Browse the repository at this point in the history
These are all islands which originally inherited the AU address format, and
with it the region field, even though they don't have regions defined by ISO.
  • Loading branch information
bojanz committed May 17, 2023
1 parent 8c64b9d commit b02ea7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions formats.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ var formats = map[string]Format{
),
},
"CC": {
Layout: "%1\n%2\n%3\n%L %R %P",
Layout: "%1\n%2\n%3\n%L %P",
Required: []Field{FieldLine1, FieldLocality},
PostalCodePattern: "6799",
},
Expand Down Expand Up @@ -351,7 +351,7 @@ var formats = map[string]Format{
PostalCodePattern: `\d{4}`,
},
"CX": {
Layout: "%1\n%2\n%3\n%L %R %P",
Layout: "%1\n%2\n%3\n%L %P",
Required: []Field{FieldLine1, FieldLocality},
PostalCodePattern: "6798",
},
Expand Down Expand Up @@ -583,7 +583,7 @@ var formats = map[string]Format{
),
},
"HM": {
Layout: "%1\n%2\n%3\n%L %R %P",
Layout: "%1\n%2\n%3\n%L %P",
Required: []Field{FieldLine1, FieldLocality},
PostalCodePattern: `\d{4}`,
},
Expand Down Expand Up @@ -1091,7 +1091,7 @@ var formats = map[string]Format{
PostalCodePattern: `\d{4}`,
},
"NF": {
Layout: "%1\n%2\n%3\n%L %R %P",
Layout: "%1\n%2\n%3\n%L %P",
Required: []Field{FieldLine1, FieldLocality},
PostalCodePattern: "2899",
},
Expand Down

0 comments on commit b02ea7f

Please sign in to comment.