diff options
| author | Gerson Niño <[email protected]> | 2018-10-08 03:02:42 -0500 |
|---|---|---|
| committer | Gerson Niño <[email protected]> | 2018-10-08 03:02:42 -0500 |
| commit | 0c34d2c3b7a3670e82e005f09799bcf8791facd7 (patch) | |
| tree | 36b2bbbc298a28d927def2cd0594ef016741a9b4 | |
| parent | 0e6fb645d6907df854ca2f84dfe518e55502646a (diff) | |
| download | faker-0c34d2c3b7a3670e82e005f09799bcf8791facd7.tar.xz faker-0c34d2c3b7a3670e82e005f09799bcf8791facd7.zip | |
Improve Canadian local postal code support
| -rw-r--r-- | lib/locales/en_CA/address/postcode.js | 19 | ||||
| -rw-r--r-- | lib/locales/fr_CA/address/postcode.js | 19 |
2 files changed, 36 insertions, 2 deletions
diff --git a/lib/locales/en_CA/address/postcode.js b/lib/locales/en_CA/address/postcode.js index cd73ce97..0ea6945c 100644 --- a/lib/locales/en_CA/address/postcode.js +++ b/lib/locales/en_CA/address/postcode.js @@ -1,3 +1,20 @@ module["exports"] = [ - "?#? #?#" + "A#? #?#", + "B#? #?#", + "C#? #?#", + "E#? #?#", + "G#? #?#", + "H#? #?#", + "J#? #?#", + "K#? #?#", + "L#? #?#", + "M#? #?#", + "N#? #?#", + "P#? #?#", + "R#? #?#", + "S#? #?#", + "T#? #?#", + "V#? #?#", + "X#? #?#", + "Y#? #?#", ]; diff --git a/lib/locales/fr_CA/address/postcode.js b/lib/locales/fr_CA/address/postcode.js index cd73ce97..0ea6945c 100644 --- a/lib/locales/fr_CA/address/postcode.js +++ b/lib/locales/fr_CA/address/postcode.js @@ -1,3 +1,20 @@ module["exports"] = [ - "?#? #?#" + "A#? #?#", + "B#? #?#", + "C#? #?#", + "E#? #?#", + "G#? #?#", + "H#? #?#", + "J#? #?#", + "K#? #?#", + "L#? #?#", + "M#? #?#", + "N#? #?#", + "P#? #?#", + "R#? #?#", + "S#? #?#", + "T#? #?#", + "V#? #?#", + "X#? #?#", + "Y#? #?#", ]; |
