diff options
| author | Marak <[email protected]> | 2018-10-14 23:53:49 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-10-14 23:53:49 -0400 |
| commit | afcbacab6a82b0ac416d2bcc5af1b3fe3c488b54 (patch) | |
| tree | 69b7024d31993e279c49df73403282c61b1b656b /lib | |
| parent | b59d4f5b29d49143f72bbae27707ce024ceb4fab (diff) | |
| parent | 0c34d2c3b7a3670e82e005f09799bcf8791facd7 (diff) | |
| download | faker-afcbacab6a82b0ac416d2bcc5af1b3fe3c488b54.tar.xz faker-afcbacab6a82b0ac416d2bcc5af1b3fe3c488b54.zip | |
Merge pull request #710 from 07Gond/master
Improve Canadian local postal code support
Diffstat (limited to 'lib')
| -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#? #?#", ]; |
