aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshadefinale <[email protected]>2015-11-11 12:09:34 -0600
committershadefinale <[email protected]>2015-11-11 12:09:34 -0600
commitff044ed9c4153e59c45b109709e054daf7944db9 (patch)
tree4ec1447af55ce7a4ddf9deebf36f89f876151c3f /lib
parent4c6a3f30c8ff481a81a66d0ec28b0d65852411c2 (diff)
downloadfaker-ff044ed9c4153e59c45b109709e054daf7944db9.tar.xz
faker-ff044ed9c4153e59c45b109709e054daf7944db9.zip
Edit locales and replaceSymbolwithNumber for more accurate US/CA phone numbers.
Diffstat (limited to 'lib')
-rw-r--r--lib/locales/en/phone_number/formats.js40
-rw-r--r--lib/locales/en_CA/phone_number/formats.js30
2 files changed, 35 insertions, 35 deletions
diff --git a/lib/locales/en/phone_number/formats.js b/lib/locales/en/phone_number/formats.js
index 2eb1f5f9..d3eec219 100644
--- a/lib/locales/en/phone_number/formats.js
+++ b/lib/locales/en/phone_number/formats.js
@@ -1,22 +1,22 @@
module["exports"] = [
- "###-!##-####",
- "(!##) ###-####",
- "1-!##-###-####",
- "!##.###.####",
- "!##-###-####",
- "(!##) ###-####",
- "1-!##-###-####",
- "!##.###.####",
- "!##-###-#### x###",
- "(!##) ###-#### x###",
- "1-!##-###-#### x###",
- "!##.###.#### x###",
- "!##-###-#### x####",
- "(!##) ###-#### x####",
- "1-!##-###-#### x####",
- "!##.###.#### x####",
- "!##-###-#### x#####",
- "(!##) ###-#### x#####",
- "1-!##-###-#### x#####",
- "!##.###.#### x#####"
+ "!##-!##-####",
+ "(!##) !##-####",
+ "1-!##-!##-####",
+ "!##.!##.####",
+ "!##-!##-####",
+ "(!##) !##-####",
+ "1-!##-!##-####",
+ "!##.!##.####",
+ "!##-!##-#### x###",
+ "(!##) !##-#### x###",
+ "1-!##-!##-#### x###",
+ "!##.!##.#### x###",
+ "!##-!##-#### x####",
+ "(!##) !##-#### x####",
+ "1-!##-!##-#### x####",
+ "!##.!##.#### x####",
+ "!##-!##-#### x#####",
+ "(!##) !##-#### x#####",
+ "1-!##-!##-#### x#####",
+ "!##.!##.#### x#####"
];
diff --git a/lib/locales/en_CA/phone_number/formats.js b/lib/locales/en_CA/phone_number/formats.js
index d73d6826..c5b85ebe 100644
--- a/lib/locales/en_CA/phone_number/formats.js
+++ b/lib/locales/en_CA/phone_number/formats.js
@@ -1,18 +1,18 @@
module["exports"] = [
- "!##-###-####",
- "(!##)###-####",
- "!##.###.####",
+ "!##-!##-####",
+ "(!##)!##-####",
+ "!##.!##.####",
"1-!##-###-####",
- "!##-###-#### x###",
- "(!##)###-#### x###",
- "1-!##-###-#### x###",
- "!##.###.#### x###",
- "!##-###-#### x####",
- "(!##)###-#### x####",
- "1-!##-###-#### x####",
- "!##.###.#### x####",
- "!##-###-#### x#####",
- "(!##)###-#### x#####",
- "1-!##-###-#### x#####",
- "!##.###.#### x#####"
+ "!##-!##-#### x###",
+ "(!##)!##-#### x###",
+ "1-!##-!##-#### x###",
+ "!##.!##.#### x###",
+ "!##-!##-#### x####",
+ "(!##)!##-#### x####",
+ "1-!##-!##-#### x####",
+ "!##.!##.#### x####",
+ "!##-!##-#### x#####",
+ "(!##)!##-#### x#####",
+ "1-!##-!##-#### x#####",
+ "!##.!##.#### x#####"
];