aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorfariborzemami <[email protected]>2020-01-31 22:34:35 +0330
committerfariborzemami <[email protected]>2020-01-31 22:34:35 +0330
commit8f282d717271a2443ce293917732ead151c0f68d (patch)
tree107fe2dec05abfca498540f0d7850d0ad49e432a /lib
parent9b33e349a4d3a6817c44097e8d225927bbd9fb10 (diff)
downloadfaker-8f282d717271a2443ce293917732ead151c0f68d.tar.xz
faker-8f282d717271a2443ce293917732ead151c0f68d.zip
feat: add date abbr
Diffstat (limited to 'lib')
-rw-r--r--lib/locales/fa/date/month.js31
-rw-r--r--lib/locales/fa/date/weekday.js20
2 files changed, 48 insertions, 3 deletions
diff --git a/lib/locales/fa/date/month.js b/lib/locales/fa/date/month.js
index c3e42489..7a523f16 100644
--- a/lib/locales/fa/date/month.js
+++ b/lib/locales/fa/date/month.js
@@ -1,4 +1,3 @@
-// Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799
module["exports"] = {
wide: [
"فروردین",
@@ -14,7 +13,7 @@ module["exports"] = {
"بهمن",
"اسفند"
],
- abbr: [
+ wide_context: [
"فروردین",
"اردیبهشت",
"خرداد",
@@ -28,4 +27,32 @@ module["exports"] = {
"بهمن",
"اسفند"
],
+ abbr: [
+ "فرو",
+ "ارد",
+ "خرد",
+ "تیر",
+ "مرد",
+ "شهر",
+ "مهر",
+ "آبا",
+ "آذر",
+ "دی",
+ "بهم",
+ "اسف"
+ ],
+ abbr_context: [
+ "فرو",
+ "ارد",
+ "خرد",
+ "تیر",
+ "مرد",
+ "شهر",
+ "مهر",
+ "آبا",
+ "آذر",
+ "دی",
+ "بهم",
+ "اسف"
+ ]
};
diff --git a/lib/locales/fa/date/weekday.js b/lib/locales/fa/date/weekday.js
index 1f08b7c0..6d46bfd3 100644
--- a/lib/locales/fa/date/weekday.js
+++ b/lib/locales/fa/date/weekday.js
@@ -9,7 +9,7 @@ module["exports"] = {
"پتچشنبه",
"جمعه"
],
- abbr: [
+ wide_context: [
"شنبه",
"یکشنبه",
"دوشنبه",
@@ -17,5 +17,23 @@ module["exports"] = {
"چهارشنبه",
"پتچشنبه",
"جمعه"
+ ],
+ abbr: [
+ "ش",
+ "ی",
+ "د",
+ "س",
+ "چ",
+ "پ",
+ "ج"
+ ],
+ abbr_context: [
+ "ش",
+ "ی",
+ "د",
+ "س",
+ "چ",
+ "پ",
+ "ج"
]
};