aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVancho Stojkov <[email protected]>2021-05-15 23:46:50 +0200
committerVancho Stojkov <[email protected]>2021-05-15 23:46:50 +0200
commitcb914a9b01a32cef4d9b3e2b4e9d0507c2bba5b0 (patch)
tree367f2cefa58e1d97f31a1316c5264c4c073e6a76
parent484f539bd7af5943cfd579af035494aae22d1719 (diff)
downloadfaker-cb914a9b01a32cef4d9b3e2b4e9d0507c2bba5b0.tar.xz
faker-cb914a9b01a32cef4d9b3e2b4e9d0507c2bba5b0.zip
Add mk date
-rw-r--r--lib/locales/mk/date/index.js4
-rw-r--r--lib/locales/mk/date/month.js63
-rw-r--r--lib/locales/mk/date/weekday.js43
-rw-r--r--lib/locales/mk/index.js1
4 files changed, 111 insertions, 0 deletions
diff --git a/lib/locales/mk/date/index.js b/lib/locales/mk/date/index.js
new file mode 100644
index 00000000..8c45d3f6
--- /dev/null
+++ b/lib/locales/mk/date/index.js
@@ -0,0 +1,4 @@
+var date = {};
+module["exports"] = date;
+date.month = require("./month");
+date.weekday = require("./weekday");
diff --git a/lib/locales/mk/date/month.js b/lib/locales/mk/date/month.js
new file mode 100644
index 00000000..b4edc548
--- /dev/null
+++ b/lib/locales/mk/date/month.js
@@ -0,0 +1,63 @@
+// Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1799
+module["exports"] = {
+ wide: [
+ "јануари",
+ "февруари",
+ "март",
+ "април",
+ "мај",
+ "јуни",
+ "јули",
+ "август",
+ "септември",
+ "октомври",
+ "ноември",
+ "декември"
+ ],
+ // Property "wide_context" is optional, if not set then "wide" will be used instead
+ // It is used to specify a word in context, which may differ from a stand-alone word
+ wide_context: [
+ "јануари",
+ "февруари",
+ "март",
+ "април",
+ "мај",
+ "јуни",
+ "јули",
+ "август",
+ "септември",
+ "октомври",
+ "ноември",
+ "декември"
+ ],
+ abbr: [
+ "јан",
+ "фев",
+ "мар",
+ "апр",
+ "мај",
+ "јун",
+ "јул",
+ "авг",
+ "сеп",
+ "окт",
+ "ное",
+ "дек"
+ ],
+ // Property "abbr_context" is optional, if not set then "abbr" will be used instead
+ // It is used to specify a word in context, which may differ from a stand-alone word
+ abbr_context: [
+ "јан",
+ "фев",
+ "мар",
+ "апр",
+ "мај",
+ "јун",
+ "јул",
+ "авг",
+ "сеп",
+ "окт",
+ "ное",
+ "дек"
+ ],
+};
diff --git a/lib/locales/mk/date/weekday.js b/lib/locales/mk/date/weekday.js
new file mode 100644
index 00000000..1e468f51
--- /dev/null
+++ b/lib/locales/mk/date/weekday.js
@@ -0,0 +1,43 @@
+// Source: http://unicode.org/cldr/trac/browser/tags/release-27/common/main/en.xml#L1847
+module["exports"] = {
+ wide: [
+ "Sunday",
+ "Monday",
+ "Tuesday",
+ "Wednesday",
+ "Thursday",
+ "Friday",
+ "Saturday"
+ ],
+ // Property "wide_context" is optional, if not set then "wide" will be used instead
+ // It is used to specify a word in context, which may differ from a stand-alone word
+ wide_context: [
+ "недела",
+ "понеделник",
+ "вторник",
+ "среда",
+ "четврток",
+ "петок",
+ "сабота"
+ ],
+ abbr: [
+ "нед",
+ "пон",
+ "вто",
+ "сре",
+ "чет",
+ "пет",
+ "саб"
+ ],
+ // Property "abbr_context" is optional, if not set then "abbr" will be used instead
+ // It is used to specify a word in context, which may differ from a stand-alone word
+ abbr_context: [
+ "нед",
+ "пон",
+ "вто",
+ "сре",
+ "чет",
+ "пет",
+ "саб"
+ ]
+};
diff --git a/lib/locales/mk/index.js b/lib/locales/mk/index.js
index ea1623cf..d1e7181f 100644
--- a/lib/locales/mk/index.js
+++ b/lib/locales/mk/index.js
@@ -6,3 +6,4 @@ mk.address = require("./address");
mk.cell_phone = require("./cell_phone");
mk.phone_number = require("./phone_number");
mk.name = require("./name");
+mk.date = require("./date");