aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorfariborzemami <[email protected]>2020-01-31 21:54:41 +0330
committerfariborzemami <[email protected]>2020-01-31 21:54:41 +0330
commitcc6cba38fe22d198c41692c307da0bec541f329d (patch)
tree93e0bc28ef09353e018d3f40e3faad7b0baf3ff9 /lib
parentb60cf7bb15d1c17e711abc7b0c2a20e1a8cc36d2 (diff)
downloadfaker-cc6cba38fe22d198c41692c307da0bec541f329d.tar.xz
faker-cc6cba38fe22d198c41692c307da0bec541f329d.zip
feat: add phone number and cell phone format
Diffstat (limited to 'lib')
-rw-r--r--lib/locales/fa/cell_phone/formats.js19
-rw-r--r--lib/locales/fa/cell_phone/index.js3
-rw-r--r--lib/locales/fa/phone_number/formats.js32
-rw-r--r--lib/locales/fa/phone_number/index.js3
4 files changed, 57 insertions, 0 deletions
diff --git a/lib/locales/fa/cell_phone/formats.js b/lib/locales/fa/cell_phone/formats.js
new file mode 100644
index 00000000..58381f12
--- /dev/null
+++ b/lib/locales/fa/cell_phone/formats.js
@@ -0,0 +1,19 @@
+module["exports"] = [
+ "0912 ### ####",
+ "0911 ### ####",
+ "0919 ### ####",
+ "0917 ### ####",
+ "0920 ### ####",
+ "0921 ### ####",
+ "0936 ### ####",
+ "0937 ### ####",
+ "0938 ### ####",
+ "0939 ### ####",
+ "0935 ### ####",
+ "0933 ### ####",
+ "0901 ### ####",
+ "0902 ### ####",
+ "0903 ### ####",
+ "0904 ### ####",
+ "0905 ### ####"
+];
diff --git a/lib/locales/fa/cell_phone/index.js b/lib/locales/fa/cell_phone/index.js
new file mode 100644
index 00000000..8de997ba
--- /dev/null
+++ b/lib/locales/fa/cell_phone/index.js
@@ -0,0 +1,3 @@
+var cell_phone = {};
+module['exports'] = cell_phone;
+cell_phone.formats = require("./formats");
diff --git a/lib/locales/fa/phone_number/formats.js b/lib/locales/fa/phone_number/formats.js
new file mode 100644
index 00000000..b52d46c9
--- /dev/null
+++ b/lib/locales/fa/phone_number/formats.js
@@ -0,0 +1,32 @@
+module["exports"] = [
+ "+98 21 ### #####"
+ "021 ### #####",
+ "031 ### #####",
+ "041 ### #####",
+ "045 ### #####",
+ "061 ### #####",
+ "051 ### #####",
+ "058 ### #####",
+ "028 ### #####",
+ "026 ### #####",
+ "044 ### #####",
+ "024 ### #####",
+ "023 ### #####",
+ "076 ### #####",
+];
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/lib/locales/fa/phone_number/index.js b/lib/locales/fa/phone_number/index.js
new file mode 100644
index 00000000..8d35e011
--- /dev/null
+++ b/lib/locales/fa/phone_number/index.js
@@ -0,0 +1,3 @@
+var phone_number = {};
+module['exports'] = phone_number;
+phone_number.formats = require("./formats");