Skip to content

Commit

Permalink
Use the Town/City locality type for New Zealand.
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanz committed Nov 17, 2023
1 parent b6145b3 commit 1e9ad95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions formats.go
Original file line number Diff line number Diff line change
Expand Up @@ -1159,6 +1159,7 @@ var formats = map[string]Format{
"NZ": {
Layout: "%1\n%2\n%3\n%S\n%L %P",
Required: []Field{FieldLine1, FieldLocality, FieldPostalCode},
LocalityType: LocalityTypeTownCity,
PostalCodePattern: `\d{4}`,
},
"OM": {
Expand Down

0 comments on commit 1e9ad95

Please sign in to comment.