From b02ea7f06b514f4fbaab67257442173a614ee0b7 Mon Sep 17 00:00:00 2001 From: Bojan Zivanovic Date: Wed, 17 May 2023 22:58:00 +0200 Subject: [PATCH] Remove the region field from CC, CX, HM, NF. 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. --- formats.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/formats.go b/formats.go index 7ec3f5d..4cb4870 100644 --- a/formats.go +++ b/formats.go @@ -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", }, @@ -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", }, @@ -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}`, }, @@ -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", },