Skip to content

Commit

Permalink
Add address format and regions for Zimbabwe (ZW).
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanz committed Mar 6, 2023
1 parent 7b614e2 commit 47d288e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions formats.go
Original file line number Diff line number Diff line change
Expand Up @@ -1848,4 +1848,14 @@ var formats = map[string]Format{
Required: []Field{FieldLine1, FieldLocality},
PostalCodePattern: `\d{5}`,
},
"ZW": {
Layout: "%1\n%2\n%3\n%L\n%R",
Required: []Field{FieldLine1, FieldLocality, FieldRegion},
Regions: NewRegionMap(
"BU", "Bulawayo", "HA", "Harare", "MA", "Manicaland",
"MC", "Mashonaland Central", "ME", "Mashonaland East", "MW", "Mashonaland West",
"MV", "Masvingo", "MN", "Matabeleland North", "MS", "Matabeleland South",
"MI", "Midlands",
),
},
}

0 comments on commit 47d288e

Please sign in to comment.