esday 0.5.0 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +37 -0
- package/LICENSE +21 -21
- package/README.md +63 -51
- package/chunks/AyQQ6US-.js +84 -0
- package/chunks/{Y32qdU_5.js → BkjWOpMU.js} +7 -1
- package/chunks/{MtjcOKi-.d.ts → C5qDMHT5.d.ts} +2 -2
- package/chunks/{DqhiVwLi.d.ts → CODi8AFH.d.ts} +63 -35
- package/chunks/CXWzCl3n.js +481 -0
- package/chunks/{BRRrAbUl.js → CdvTtmWL.js} +2 -2
- package/chunks/{DXHbH1CI.js → Shk32pTP.js} +1 -1
- package/chunks/{Cb5SvF6r.js → v_QBn7Xm.js} +1 -1
- package/chunks/xt8C2lbv.js +38 -0
- package/index.d.ts +3 -3
- package/index.js +1 -571
- package/locales/af.d.ts +1 -3
- package/locales/af.js +4 -2
- package/locales/am.d.ts +1 -3
- package/locales/am.js +4 -2
- package/locales/ar-dz.d.ts +1 -3
- package/locales/ar-dz.js +7 -9
- package/locales/ar-iq.d.ts +1 -3
- package/locales/ar-iq.js +7 -9
- package/locales/ar-kw.d.ts +1 -3
- package/locales/ar-kw.js +7 -9
- package/locales/ar-ly.d.ts +1 -3
- package/locales/ar-ly.js +7 -9
- package/locales/ar-ma.d.ts +1 -3
- package/locales/ar-ma.js +7 -9
- package/locales/ar-sa.d.ts +1 -3
- package/locales/ar-sa.js +7 -9
- package/locales/ar-tn.d.ts +1 -3
- package/locales/ar-tn.js +7 -9
- package/locales/ar.d.ts +1 -3
- package/locales/ar.js +197 -2
- package/locales/az.d.ts +1 -3
- package/locales/az.js +4 -2
- package/locales/be.d.ts +1 -3
- package/locales/be.js +55 -59
- package/locales/bg.d.ts +1 -3
- package/locales/bg.js +4 -2
- package/locales/bi.d.ts +1 -3
- package/locales/bi.js +4 -2
- package/locales/bm.d.ts +1 -3
- package/locales/bm.js +4 -2
- package/locales/bn-bd.d.ts +1 -3
- package/locales/bn-bd.js +7 -9
- package/locales/bn.d.ts +1 -3
- package/locales/bn.js +136 -2
- package/locales/bo.d.ts +1 -3
- package/locales/bo.js +4 -2
- package/locales/br.d.ts +1 -3
- package/locales/br.js +10 -9
- package/locales/bs.d.ts +1 -3
- package/locales/bs.js +4 -2
- package/locales/ca.d.ts +1 -3
- package/locales/ca.js +35 -36
- package/locales/cs.d.ts +1 -3
- package/locales/cs.js +38 -34
- package/locales/cv.d.ts +1 -3
- package/locales/cv.js +4 -2
- package/locales/cy.d.ts +1 -3
- package/locales/cy.js +4 -2
- package/locales/da.d.ts +1 -3
- package/locales/da.js +4 -2
- package/locales/de-at.d.ts +1 -3
- package/locales/de-at.js +7 -9
- package/locales/de-ch.d.ts +1 -3
- package/locales/de-ch.js +7 -9
- package/locales/de.d.ts +1 -3
- package/locales/de.js +130 -2
- package/locales/dv.d.ts +1 -3
- package/locales/dv.js +4 -2
- package/locales/el.d.ts +1 -3
- package/locales/el.js +4 -2
- package/locales/en-au.d.ts +1 -3
- package/locales/en-au.js +7 -8
- package/locales/en-ca.d.ts +1 -3
- package/locales/en-ca.js +7 -8
- package/locales/en-gb.d.ts +1 -3
- package/locales/en-gb.js +9 -8
- package/locales/en-ie.d.ts +1 -3
- package/locales/en-ie.js +7 -8
- package/locales/en-il.d.ts +1 -3
- package/locales/en-il.js +7 -8
- package/locales/en-in.d.ts +1 -3
- package/locales/en-in.js +7 -8
- package/locales/en-nz.d.ts +1 -3
- package/locales/en-nz.js +7 -8
- package/locales/en-sg.d.ts +1 -3
- package/locales/en-sg.js +7 -8
- package/locales/en-tt.d.ts +1 -3
- package/locales/en-tt.js +7 -8
- package/locales/en-us.d.ts +1 -3
- package/locales/en-us.js +7 -8
- package/locales/en.d.ts +1 -3
- package/locales/en.js +116 -2
- package/locales/eo.d.ts +1 -3
- package/locales/eo.js +4 -2
- package/locales/es-do.d.ts +1 -3
- package/locales/es-do.js +7 -9
- package/locales/es-mx.d.ts +1 -3
- package/locales/es-mx.js +7 -9
- package/locales/es-pr.d.ts +1 -3
- package/locales/es-pr.js +7 -9
- package/locales/es-us.d.ts +1 -3
- package/locales/es-us.js +7 -9
- package/locales/es.d.ts +1 -3
- package/locales/es.js +117 -2
- package/locales/et.d.ts +1 -3
- package/locales/et.js +6 -2
- package/locales/eu.d.ts +1 -3
- package/locales/eu.js +4 -2
- package/locales/fa.d.ts +1 -3
- package/locales/fa.js +4 -2
- package/locales/fi.d.ts +1 -3
- package/locales/fi.js +8 -2
- package/locales/fil.d.ts +1 -3
- package/locales/fil.js +4 -2
- package/locales/fo.d.ts +1 -3
- package/locales/fo.js +4 -2
- package/locales/fr-ca.d.ts +1 -3
- package/locales/fr-ca.js +7 -9
- package/locales/fr-ch.d.ts +1 -3
- package/locales/fr-ch.js +7 -9
- package/locales/fr.d.ts +1 -3
- package/locales/fr.js +109 -2
- package/locales/fy.d.ts +1 -3
- package/locales/fy.js +4 -2
- package/locales/ga.d.ts +1 -3
- package/locales/ga.js +4 -2
- package/locales/gd.d.ts +1 -3
- package/locales/gd.js +4 -2
- package/locales/gl.d.ts +1 -3
- package/locales/gl.js +4 -2
- package/locales/gom-deva.d.ts +1 -3
- package/locales/gom-deva.js +34 -32
- package/locales/gom-latn.d.ts +1 -3
- package/locales/gom-latn.js +34 -32
- package/locales/gu.d.ts +1 -3
- package/locales/gu.js +4 -2
- package/locales/he.d.ts +1 -3
- package/locales/he.js +8 -5
- package/locales/hi.d.ts +1 -3
- package/locales/hi.js +34 -35
- package/locales/hr.d.ts +1 -3
- package/locales/hr.js +10 -4
- package/locales/ht.d.ts +1 -3
- package/locales/ht.js +4 -2
- package/locales/hu.d.ts +1 -3
- package/locales/hu.js +6 -2
- package/locales/hy-am.d.ts +1 -3
- package/locales/hy-am.js +34 -35
- package/locales/id.d.ts +1 -3
- package/locales/id.js +4 -2
- package/locales/is.d.ts +1 -3
- package/locales/is.js +14 -2
- package/locales/it-ch.d.ts +1 -3
- package/locales/it-ch.js +4 -9
- package/locales/it.d.ts +1 -3
- package/locales/it.js +120 -2
- package/locales/ja.d.ts +1 -4
- package/locales/ja.js +4 -2
- package/locales/jv.d.ts +1 -3
- package/locales/jv.js +4 -2
- package/locales/ka.d.ts +1 -3
- package/locales/ka.js +25 -26
- package/locales/kk.d.ts +1 -3
- package/locales/kk.js +4 -2
- package/locales/km.d.ts +1 -3
- package/locales/km.js +4 -2
- package/locales/kn.d.ts +1 -3
- package/locales/kn.js +4 -2
- package/locales/ko.d.ts +1 -3
- package/locales/ko.js +5 -3
- package/locales/ku.d.ts +1 -3
- package/locales/ku.js +4 -2
- package/locales/ky.d.ts +1 -3
- package/locales/ky.js +4 -2
- package/locales/lb.d.ts +1 -3
- package/locales/lb.js +5 -2
- package/locales/lo.d.ts +1 -3
- package/locales/lo.js +4 -2
- package/locales/lt.d.ts +1 -3
- package/locales/lt.js +4 -2
- package/locales/lv.d.ts +1 -3
- package/locales/lv.js +4 -2
- package/locales/me.d.ts +1 -3
- package/locales/me.js +33 -33
- package/locales/mi.d.ts +1 -3
- package/locales/mi.js +4 -2
- package/locales/mk.d.ts +1 -3
- package/locales/mk.js +4 -2
- package/locales/ml.d.ts +1 -3
- package/locales/ml.js +4 -2
- package/locales/mn.d.ts +1 -3
- package/locales/mn.js +37 -16
- package/locales/mr.d.ts +1 -3
- package/locales/mr.js +16 -2
- package/locales/ms-my.d.ts +1 -3
- package/locales/ms-my.js +7 -9
- package/locales/ms.d.ts +1 -3
- package/locales/ms.js +107 -2
- package/locales/mt.d.ts +1 -3
- package/locales/mt.js +4 -2
- package/locales/my.d.ts +1 -3
- package/locales/my.js +4 -2
- package/locales/nb.d.ts +1 -3
- package/locales/nb.js +4 -2
- package/locales/ne.d.ts +1 -3
- package/locales/ne.js +4 -2
- package/locales/nl-be.d.ts +1 -3
- package/locales/nl-be.js +7 -9
- package/locales/nl.d.ts +1 -3
- package/locales/nl.js +107 -2
- package/locales/nn.d.ts +1 -3
- package/locales/nn.js +4 -2
- package/locales/oc-lnc.d.ts +1 -3
- package/locales/oc-lnc.js +35 -36
- package/locales/pa-in.d.ts +1 -3
- package/locales/pa-in.js +4 -2
- package/locales/pl.d.ts +1 -3
- package/locales/pl.js +5 -2
- package/locales/pt-br.d.ts +1 -3
- package/locales/pt-br.js +7 -9
- package/locales/pt.d.ts +1 -3
- package/locales/pt.js +109 -2
- package/locales/rn.d.ts +1 -3
- package/locales/rn.js +4 -2
- package/locales/ro.d.ts +1 -3
- package/locales/ro.js +4 -2
- package/locales/ru.d.ts +1 -4
- package/locales/ru.js +83 -82
- package/locales/rw.d.ts +1 -3
- package/locales/rw.js +4 -2
- package/locales/sd.d.ts +1 -3
- package/locales/sd.js +4 -2
- package/locales/se.d.ts +1 -3
- package/locales/se.js +4 -2
- package/locales/si.d.ts +1 -3
- package/locales/si.js +4 -2
- package/locales/sk.d.ts +1 -3
- package/locales/sk.js +8 -2
- package/locales/sl.d.ts +1 -3
- package/locales/sl.js +8 -2
- package/locales/sq.d.ts +1 -3
- package/locales/sq.js +4 -2
- package/locales/sr-cyrl.d.ts +1 -3
- package/locales/sr-cyrl.js +16 -15
- package/locales/sr.d.ts +1 -3
- package/locales/sr.js +185 -2
- package/locales/ss.d.ts +1 -3
- package/locales/ss.js +4 -2
- package/locales/sv-fi.d.ts +1 -3
- package/locales/sv-fi.js +7 -9
- package/locales/sv.d.ts +1 -3
- package/locales/sv.js +110 -2
- package/locales/sw.d.ts +1 -3
- package/locales/sw.js +4 -2
- package/locales/ta.d.ts +1 -3
- package/locales/ta.js +4 -2
- package/locales/te.d.ts +1 -3
- package/locales/te.js +4 -2
- package/locales/tet.d.ts +1 -3
- package/locales/tet.js +5 -4
- package/locales/tg.d.ts +1 -3
- package/locales/tg.js +34 -35
- package/locales/th.d.ts +1 -3
- package/locales/th.js +4 -2
- package/locales/tk.d.ts +1 -3
- package/locales/tk.js +5 -4
- package/locales/tl-ph.d.ts +1 -3
- package/locales/tl-ph.js +4 -2
- package/locales/tlh.d.ts +1 -3
- package/locales/tlh.js +5 -2
- package/locales/tr.d.ts +1 -3
- package/locales/tr.js +5 -4
- package/locales/tzl.d.ts +1 -3
- package/locales/tzl.js +4 -2
- package/locales/tzm-latn.d.ts +1 -3
- package/locales/tzm-latn.js +9 -9
- package/locales/tzm.d.ts +1 -3
- package/locales/tzm.js +107 -2
- package/locales/ug-cn.d.ts +1 -3
- package/locales/ug-cn.js +4 -2
- package/locales/uk.d.ts +1 -3
- package/locales/uk.js +37 -32
- package/locales/ur.d.ts +1 -3
- package/locales/ur.js +4 -2
- package/locales/uz-latn.d.ts +1 -3
- package/locales/uz-latn.js +9 -9
- package/locales/uz.d.ts +1 -3
- package/locales/uz.js +107 -2
- package/locales/vi.d.ts +1 -3
- package/locales/vi.js +4 -2
- package/locales/x-pseudo.d.ts +1 -3
- package/locales/x-pseudo.js +5 -4
- package/locales/yo.d.ts +1 -3
- package/locales/yo.js +4 -2
- package/locales/zh-cn.d.ts +1 -3
- package/locales/zh-cn.js +7 -9
- package/locales/zh-hk.d.ts +1 -3
- package/locales/zh-hk.js +7 -9
- package/locales/zh-mo.d.ts +1 -3
- package/locales/zh-mo.js +7 -9
- package/locales/zh-tw.d.ts +1 -3
- package/locales/zh-tw.js +7 -9
- package/locales/zh.d.ts +1 -4
- package/locales/zh.js +128 -2
- package/package.json +29 -23
- package/plugins/advancedFormat/index.d.ts +1 -3
- package/plugins/advancedFormat/index.js +4 -6
- package/plugins/advancedParse/index.d.ts +1 -3
- package/plugins/advancedParse/index.js +21 -20
- package/plugins/calendar/index.d.ts +2 -4
- package/plugins/calendar/index.js +1 -2
- package/plugins/dayOfYear/index.d.ts +1 -2
- package/plugins/dayOfYear/index.js +1 -2
- package/plugins/duration/index.d.ts +78 -0
- package/plugins/duration/index.js +477 -0
- package/plugins/isBetween/index.d.ts +1 -2
- package/plugins/isBetween/index.js +2 -3
- package/plugins/isLeapYear/index.d.ts +1 -2
- package/plugins/isLeapYear/index.js +1 -2
- package/plugins/isSameOrAfter/index.d.ts +1 -2
- package/plugins/isSameOrAfter/index.js +1 -2
- package/plugins/isSameOrBefore/index.d.ts +1 -2
- package/plugins/isSameOrBefore/index.js +1 -2
- package/plugins/isToday/index.d.ts +1 -2
- package/plugins/isToday/index.js +2 -3
- package/plugins/isTomorrow/index.d.ts +1 -2
- package/plugins/isTomorrow/index.js +2 -3
- package/plugins/isYesterday/index.d.ts +1 -2
- package/plugins/isYesterday/index.js +2 -3
- package/plugins/isoWeek/index.d.ts +1 -3
- package/plugins/isoWeek/index.js +13 -25
- package/plugins/locale/index.d.ts +103 -3
- package/plugins/locale/index.js +140 -6
- package/plugins/localeData/index.d.ts +1 -3
- package/plugins/localeData/index.js +18 -11
- package/plugins/localizedFormat/index.d.ts +1 -3
- package/plugins/localizedFormat/index.js +5 -10
- package/plugins/localizedParse/index.d.ts +1 -3
- package/plugins/localizedParse/index.js +40 -22
- package/plugins/minMax/index.d.ts +1 -2
- package/plugins/minMax/index.js +2 -3
- package/plugins/objectSupport/index.d.ts +1 -3
- package/plugins/objectSupport/index.js +33 -38
- package/plugins/pluralGetSet/index.d.ts +1 -3
- package/plugins/pluralGetSet/index.js +1 -2
- package/plugins/quarterOfYear/index.d.ts +1 -3
- package/plugins/quarterOfYear/index.js +11 -18
- package/plugins/relativeTime/index.d.ts +32 -44
- package/plugins/relativeTime/index.js +124 -91
- package/plugins/timezone/index.d.ts +6 -0
- package/plugins/timezone/index.js +456 -0
- package/plugins/toArray/index.d.ts +1 -2
- package/plugins/toArray/index.js +1 -2
- package/plugins/toObject/index.d.ts +1 -2
- package/plugins/toObject/index.js +1 -2
- package/plugins/utc/index.d.ts +1 -2
- package/plugins/utc/index.js +37 -39
- package/plugins/week/index.d.ts +1 -3
- package/plugins/week/index.js +17 -27
- package/chunks/B5f9poqo.js +0 -120
- package/chunks/BDssPbM_.js +0 -106
- package/chunks/BXRGSAJG.js +0 -128
- package/chunks/BeVgU2nj.js +0 -188
- package/chunks/BtmEtAW3.js +0 -43
- package/chunks/CQ57zhVp.js +0 -106
- package/chunks/CQJ0-ZuR.js +0 -106
- package/chunks/CWqzr5E5.js +0 -108
- package/chunks/Cg4ZI9v8.js +0 -180
- package/chunks/CoBtJ4c1.js +0 -144
- package/chunks/D009Z-ld.js +0 -109
- package/chunks/DMtTiWuY.js +0 -127
- package/chunks/Dixb5KKs.js +0 -116
- package/chunks/DjY7KvwG.js +0 -28
- package/chunks/GjKpN6U-.js +0 -135
- package/chunks/St35qgL0.d.ts +0 -103
- package/chunks/br7kModF.js +0 -110
- package/chunks/l2Rxo2H0.js +0 -106
- package/chunks/tfkJ5D3p.js +0 -115
package/locales/mn.js
CHANGED
|
@@ -1,4 +1,23 @@
|
|
|
1
1
|
//#region src/locales/mn.ts
|
|
2
|
+
function relativeTimeFormatter(timeValue, withoutSuffix, token, _isFuture) {
|
|
3
|
+
switch (token) {
|
|
4
|
+
case "s": return withoutSuffix ? "хэдхэн секунд" : "хэдхэн секундын";
|
|
5
|
+
case "ss": return timeValue + (withoutSuffix ? " секунд" : " секундын");
|
|
6
|
+
case "m":
|
|
7
|
+
case "mm": return timeValue + (withoutSuffix ? " минут" : " минутын");
|
|
8
|
+
case "h":
|
|
9
|
+
case "hh": return timeValue + (withoutSuffix ? " цаг" : " цагийн");
|
|
10
|
+
case "d":
|
|
11
|
+
case "dd": return timeValue + (withoutSuffix ? " өдөр" : " өдрийн");
|
|
12
|
+
case "w":
|
|
13
|
+
case "ww": return timeValue + (withoutSuffix ? " долоо" : " хоногийн");
|
|
14
|
+
case "M":
|
|
15
|
+
case "MM": return timeValue + (withoutSuffix ? " сар" : " сарын");
|
|
16
|
+
case "y":
|
|
17
|
+
case "yy": return timeValue + (withoutSuffix ? " жил" : " жилийн");
|
|
18
|
+
default: return timeValue.toString();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
2
21
|
const localeMn = {
|
|
3
22
|
name: "mn",
|
|
4
23
|
weekdays: [
|
|
@@ -56,6 +75,7 @@ const localeMn = {
|
|
|
56
75
|
"11 сар",
|
|
57
76
|
"12 сар"
|
|
58
77
|
],
|
|
78
|
+
dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
|
|
59
79
|
ordinal: (n) => `${n}`,
|
|
60
80
|
weekStart: 1,
|
|
61
81
|
yearStart: 4,
|
|
@@ -80,27 +100,28 @@ const localeMn = {
|
|
|
80
100
|
sameElse: "L"
|
|
81
101
|
},
|
|
82
102
|
relativeTime: {
|
|
83
|
-
future: "%s",
|
|
84
|
-
past: "%s",
|
|
85
|
-
s:
|
|
86
|
-
ss:
|
|
87
|
-
m:
|
|
88
|
-
mm:
|
|
89
|
-
h:
|
|
90
|
-
hh:
|
|
91
|
-
d:
|
|
92
|
-
dd:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
103
|
+
future: "%s дараа",
|
|
104
|
+
past: "%s өмнө",
|
|
105
|
+
s: relativeTimeFormatter,
|
|
106
|
+
ss: relativeTimeFormatter,
|
|
107
|
+
m: relativeTimeFormatter,
|
|
108
|
+
mm: relativeTimeFormatter,
|
|
109
|
+
h: relativeTimeFormatter,
|
|
110
|
+
hh: relativeTimeFormatter,
|
|
111
|
+
d: relativeTimeFormatter,
|
|
112
|
+
dd: relativeTimeFormatter,
|
|
113
|
+
w: relativeTimeFormatter,
|
|
114
|
+
ww: relativeTimeFormatter,
|
|
115
|
+
M: relativeTimeFormatter,
|
|
116
|
+
MM: relativeTimeFormatter,
|
|
117
|
+
y: relativeTimeFormatter,
|
|
118
|
+
yy: relativeTimeFormatter
|
|
97
119
|
},
|
|
98
120
|
meridiem: (hour, _minute, _isLowercase) => {
|
|
99
121
|
if (hour < 12) return "ҮӨ";
|
|
100
122
|
return "ҮХ";
|
|
101
123
|
}
|
|
102
124
|
};
|
|
103
|
-
var mn_default = localeMn;
|
|
104
125
|
|
|
105
126
|
//#endregion
|
|
106
|
-
export {
|
|
127
|
+
export { localeMn as default };
|
package/locales/mr.d.ts
CHANGED
package/locales/mr.js
CHANGED
|
@@ -50,6 +50,12 @@ function relativeTimeFormatter(timeValue, withoutSuffix, token, _isFuture) {
|
|
|
50
50
|
case "dd":
|
|
51
51
|
output = "%d दिवस";
|
|
52
52
|
break;
|
|
53
|
+
case "w":
|
|
54
|
+
output = "एक आठवडा";
|
|
55
|
+
break;
|
|
56
|
+
case "ww":
|
|
57
|
+
output = "%d आठवडा";
|
|
58
|
+
break;
|
|
53
59
|
case "M":
|
|
54
60
|
output = "एक महिना";
|
|
55
61
|
break;
|
|
@@ -88,6 +94,12 @@ function relativeTimeFormatter(timeValue, withoutSuffix, token, _isFuture) {
|
|
|
88
94
|
case "dd":
|
|
89
95
|
output = "%d दिवसां";
|
|
90
96
|
break;
|
|
97
|
+
case "w":
|
|
98
|
+
output = "एका आठवड्यात";
|
|
99
|
+
break;
|
|
100
|
+
case "ww":
|
|
101
|
+
output = "%d आठवडे";
|
|
102
|
+
break;
|
|
91
103
|
case "M":
|
|
92
104
|
output = "एका महिन्या";
|
|
93
105
|
break;
|
|
@@ -160,6 +172,7 @@ const localeMr = {
|
|
|
160
172
|
"नोव्हें.",
|
|
161
173
|
"डिसें."
|
|
162
174
|
],
|
|
175
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
163
176
|
ordinal: (n) => `${n}`,
|
|
164
177
|
weekStart: 0,
|
|
165
178
|
yearStart: 1,
|
|
@@ -194,6 +207,8 @@ const localeMr = {
|
|
|
194
207
|
hh: relativeTimeFormatter,
|
|
195
208
|
d: relativeTimeFormatter,
|
|
196
209
|
dd: relativeTimeFormatter,
|
|
210
|
+
w: relativeTimeFormatter,
|
|
211
|
+
ww: relativeTimeFormatter,
|
|
197
212
|
M: relativeTimeFormatter,
|
|
198
213
|
MM: relativeTimeFormatter,
|
|
199
214
|
y: relativeTimeFormatter,
|
|
@@ -209,7 +224,6 @@ const localeMr = {
|
|
|
209
224
|
preParse: (dateString) => dateString.replace(/[१२३४५६७८९०]/g, (match) => marathiToEnglishNumbersMap[match]),
|
|
210
225
|
postFormat: (formattedDate) => formattedDate.replace(/\d/g, (match) => englishToMarathiNumbersMap[Number(match)])
|
|
211
226
|
};
|
|
212
|
-
var mr_default = localeMr;
|
|
213
227
|
|
|
214
228
|
//#endregion
|
|
215
|
-
export {
|
|
229
|
+
export { localeMr as default };
|
package/locales/ms-my.d.ts
CHANGED
package/locales/ms-my.js
CHANGED
|
@@ -1,14 +1,12 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { ms_default } from "../chunks/CQ57zhVp.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeMs from "./ms.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ms-my.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Malay [ms-MY]
|
|
7
|
+
*/
|
|
8
|
+
const localeMsMy = cloneLocale(localeMs);
|
|
10
9
|
setLocaleProperty(localeMsMy, "name", "ms-MY");
|
|
11
|
-
var ms_my_default = localeMsMy;
|
|
12
10
|
|
|
13
11
|
//#endregion
|
|
14
|
-
export {
|
|
12
|
+
export { localeMsMy as default };
|
package/locales/ms.d.ts
CHANGED
package/locales/ms.js
CHANGED
|
@@ -1,3 +1,108 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/locales/ms.ts
|
|
2
|
+
const localeMs = {
|
|
3
|
+
name: "ms",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"Ahad",
|
|
6
|
+
"Isnin",
|
|
7
|
+
"Selasa",
|
|
8
|
+
"Rabu",
|
|
9
|
+
"Khamis",
|
|
10
|
+
"Jumaat",
|
|
11
|
+
"Sabtu"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"Ahd",
|
|
15
|
+
"Isn",
|
|
16
|
+
"Sel",
|
|
17
|
+
"Rab",
|
|
18
|
+
"Kha",
|
|
19
|
+
"Jum",
|
|
20
|
+
"Sab"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"Ah",
|
|
24
|
+
"Is",
|
|
25
|
+
"Sl",
|
|
26
|
+
"Rb",
|
|
27
|
+
"Km",
|
|
28
|
+
"Jm",
|
|
29
|
+
"Sb"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"Januari",
|
|
33
|
+
"Februari",
|
|
34
|
+
"Mac",
|
|
35
|
+
"April",
|
|
36
|
+
"Mei",
|
|
37
|
+
"Jun",
|
|
38
|
+
"Julai",
|
|
39
|
+
"Ogos",
|
|
40
|
+
"September",
|
|
41
|
+
"Oktober",
|
|
42
|
+
"November",
|
|
43
|
+
"Disember"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"Jan",
|
|
47
|
+
"Feb",
|
|
48
|
+
"Mac",
|
|
49
|
+
"Apr",
|
|
50
|
+
"Mei",
|
|
51
|
+
"Jun",
|
|
52
|
+
"Jul",
|
|
53
|
+
"Ogs",
|
|
54
|
+
"Sep",
|
|
55
|
+
"Okt",
|
|
56
|
+
"Nov",
|
|
57
|
+
"Dis"
|
|
58
|
+
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
60
|
+
ordinal: (n) => `${n}.`,
|
|
61
|
+
weekStart: 1,
|
|
62
|
+
yearStart: 4,
|
|
63
|
+
formats: {
|
|
64
|
+
LT: "HH.mm",
|
|
65
|
+
LTS: "HH.mm.ss",
|
|
66
|
+
L: "DD/MM/YYYY",
|
|
67
|
+
LL: "D MMMM YYYY",
|
|
68
|
+
LLL: "D MMMM YYYY HH.mm",
|
|
69
|
+
LLLL: "dddd, D MMMM YYYY HH.mm",
|
|
70
|
+
l: "DD/MM/YYYY",
|
|
71
|
+
ll: "D MMMM YYYY",
|
|
72
|
+
lll: "D MMMM YYYY HH.mm",
|
|
73
|
+
llll: "dddd, D MMMM YYYY HH.mm"
|
|
74
|
+
},
|
|
75
|
+
calendar: {
|
|
76
|
+
sameDay: "[Hari ini pukul] LT",
|
|
77
|
+
nextDay: "[Esok pukul] LT",
|
|
78
|
+
nextWeek: "dddd [pukul] LT",
|
|
79
|
+
lastDay: "[Kelmarin pukul] LT",
|
|
80
|
+
lastWeek: "dddd [lepas pukul] LT",
|
|
81
|
+
sameElse: "L"
|
|
82
|
+
},
|
|
83
|
+
relativeTime: {
|
|
84
|
+
future: "dalam %s",
|
|
85
|
+
past: "%s yang lepas",
|
|
86
|
+
s: "beberapa saat",
|
|
87
|
+
ss: "%d saat",
|
|
88
|
+
m: "seminit",
|
|
89
|
+
mm: "%d minit",
|
|
90
|
+
h: "sejam",
|
|
91
|
+
hh: "%d jam",
|
|
92
|
+
d: "sehari",
|
|
93
|
+
dd: "%d hari",
|
|
94
|
+
w: "seminggu",
|
|
95
|
+
ww: "%d minggu",
|
|
96
|
+
M: "sebulan",
|
|
97
|
+
MM: "%d bulan",
|
|
98
|
+
y: "setahun",
|
|
99
|
+
yy: "%d tahun"
|
|
100
|
+
},
|
|
101
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
102
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
103
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
2
106
|
|
|
3
|
-
|
|
107
|
+
//#endregion
|
|
108
|
+
export { localeMs as default };
|
package/locales/mt.d.ts
CHANGED
package/locales/mt.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeMt = {
|
|
|
56
56
|
"Nov",
|
|
57
57
|
"Diċ"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeMt = {
|
|
|
90
91
|
hh: "%d siegħat",
|
|
91
92
|
d: "ġurnata",
|
|
92
93
|
dd: "%d ġranet",
|
|
94
|
+
w: "ġimgħa",
|
|
95
|
+
ww: "%d ġimgħat",
|
|
93
96
|
M: "xahar",
|
|
94
97
|
MM: "%d xhur",
|
|
95
98
|
y: "sena",
|
|
@@ -100,7 +103,6 @@ const localeMt = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var mt_default = localeMt;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeMt as default };
|
package/locales/my.d.ts
CHANGED
package/locales/my.js
CHANGED
|
@@ -82,6 +82,7 @@ const localeMy = {
|
|
|
82
82
|
],
|
|
83
83
|
weekStart: 1,
|
|
84
84
|
yearStart: 4,
|
|
85
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
85
86
|
ordinal: (n) => `${n}`,
|
|
86
87
|
formats: {
|
|
87
88
|
LT: "HH:mm",
|
|
@@ -114,6 +115,8 @@ const localeMy = {
|
|
|
114
115
|
hh: "%d နာရီ",
|
|
115
116
|
d: "တစ်ရက်",
|
|
116
117
|
dd: "%d ရက်",
|
|
118
|
+
w: "တစ်ပတ်",
|
|
119
|
+
ww: "%d ပတ်",
|
|
117
120
|
M: "တစ်လ",
|
|
118
121
|
MM: "%d လ",
|
|
119
122
|
y: "တစ်နှစ်",
|
|
@@ -126,7 +129,6 @@ const localeMy = {
|
|
|
126
129
|
preParse: (dateString) => dateString.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, (match) => burmeseToEnglishNumbersMap[match]),
|
|
127
130
|
postFormat: (formattedDate) => formattedDate.replace(/\d/g, (match) => englishToBurmeseNumbersMap[Number(match)])
|
|
128
131
|
};
|
|
129
|
-
var my_default = localeMy;
|
|
130
132
|
|
|
131
133
|
//#endregion
|
|
132
|
-
export {
|
|
134
|
+
export { localeMy as default };
|
package/locales/nb.d.ts
CHANGED
package/locales/nb.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeNb = {
|
|
|
56
56
|
"lnov.",
|
|
57
57
|
"ldes."
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
59
60
|
ordinal: (n) => `${n}.`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeNb = {
|
|
|
90
91
|
hh: "%d timer",
|
|
91
92
|
d: "en dag",
|
|
92
93
|
dd: "%d dager",
|
|
94
|
+
w: "en uke",
|
|
95
|
+
ww: "%d uker",
|
|
93
96
|
M: "en måned",
|
|
94
97
|
MM: "%d måneder",
|
|
95
98
|
y: "ett år",
|
|
@@ -100,7 +103,6 @@ const localeNb = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var nb_default = localeNb;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeNb as default };
|
package/locales/ne.d.ts
CHANGED
package/locales/ne.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeNe = {
|
|
|
56
56
|
"नोभे.",
|
|
57
57
|
"डिसे."
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
59
60
|
ordinal: (n) => `${n}`.replace(/\d/g, (i) => "०१२३४५६७८९"[+i]),
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeNe = {
|
|
|
90
91
|
hh: "%d घन्टा",
|
|
91
92
|
d: "एक दिन",
|
|
92
93
|
dd: "%d दिन",
|
|
94
|
+
w: "ia हप्ता",
|
|
95
|
+
ww: "%d हप्ता",
|
|
93
96
|
M: "एक महिना",
|
|
94
97
|
MM: "%d महिना",
|
|
95
98
|
y: "एक वर्ष",
|
|
@@ -100,7 +103,6 @@ const localeNe = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var ne_default = localeNe;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeNe as default };
|
package/locales/nl-be.d.ts
CHANGED
package/locales/nl-be.js
CHANGED
|
@@ -1,18 +1,16 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { nl_default } from "../chunks/BDssPbM_.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeNl from "./nl.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/nl-be.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Dutch (Belgium) [nl-BE]
|
|
7
|
+
*/
|
|
8
|
+
const localeNlBe = cloneLocale(localeNl);
|
|
10
9
|
const formats = structuredClone(localeNlBe.formats);
|
|
11
10
|
formats.L = "DD/MM/YYYY";
|
|
12
11
|
formats.l = "DD/MM/YYYY";
|
|
13
12
|
setLocaleProperty(localeNlBe, "name", "nl-BE");
|
|
14
13
|
setLocaleProperty(localeNlBe, "formats", formats);
|
|
15
|
-
var nl_be_default = localeNlBe;
|
|
16
14
|
|
|
17
15
|
//#endregion
|
|
18
|
-
export {
|
|
16
|
+
export { localeNlBe as default };
|
package/locales/nl.d.ts
CHANGED
package/locales/nl.js
CHANGED
|
@@ -1,3 +1,108 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/locales/nl.ts
|
|
2
|
+
const localeNl = {
|
|
3
|
+
name: "nl",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"zondag",
|
|
6
|
+
"maandag",
|
|
7
|
+
"dinsdag",
|
|
8
|
+
"woensdag",
|
|
9
|
+
"donderdag",
|
|
10
|
+
"vrijdag",
|
|
11
|
+
"zaterdag"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"zo.",
|
|
15
|
+
"ma.",
|
|
16
|
+
"di.",
|
|
17
|
+
"wo.",
|
|
18
|
+
"do.",
|
|
19
|
+
"vr.",
|
|
20
|
+
"za."
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"zo",
|
|
24
|
+
"ma",
|
|
25
|
+
"di",
|
|
26
|
+
"wo",
|
|
27
|
+
"do",
|
|
28
|
+
"vr",
|
|
29
|
+
"za"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"januari",
|
|
33
|
+
"februari",
|
|
34
|
+
"maart",
|
|
35
|
+
"april",
|
|
36
|
+
"mei",
|
|
37
|
+
"juni",
|
|
38
|
+
"juli",
|
|
39
|
+
"augustus",
|
|
40
|
+
"september",
|
|
41
|
+
"oktober",
|
|
42
|
+
"november",
|
|
43
|
+
"december"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"jan",
|
|
47
|
+
"feb",
|
|
48
|
+
"mrt",
|
|
49
|
+
"apr",
|
|
50
|
+
"mei",
|
|
51
|
+
"jun",
|
|
52
|
+
"jul",
|
|
53
|
+
"aug",
|
|
54
|
+
"sep",
|
|
55
|
+
"okt",
|
|
56
|
+
"nov",
|
|
57
|
+
"dec"
|
|
58
|
+
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
|
60
|
+
ordinal: (n) => `[${n}${n === 1 || n === 8 || n >= 20 ? "ste" : "de"}]`,
|
|
61
|
+
weekStart: 1,
|
|
62
|
+
yearStart: 4,
|
|
63
|
+
formats: {
|
|
64
|
+
LT: "HH:mm",
|
|
65
|
+
LTS: "HH:mm:ss",
|
|
66
|
+
L: "DD-MM-YYYY",
|
|
67
|
+
LL: "D MMMM YYYY",
|
|
68
|
+
LLL: "D MMMM YYYY HH:mm",
|
|
69
|
+
LLLL: "dddd D MMMM YYYY HH:mm",
|
|
70
|
+
l: "DD-MM-YYYY",
|
|
71
|
+
ll: "D MMMM YYYY",
|
|
72
|
+
lll: "D MMMM YYYY HH:mm",
|
|
73
|
+
llll: "dddd D MMMM YYYY HH:mm"
|
|
74
|
+
},
|
|
75
|
+
calendar: {
|
|
76
|
+
sameDay: "[vandaag om] LT",
|
|
77
|
+
nextDay: "[morgen om] LT",
|
|
78
|
+
nextWeek: "dddd [om] LT",
|
|
79
|
+
lastDay: "[gisteren om] LT",
|
|
80
|
+
lastWeek: "[afgelopen] dddd [om] LT",
|
|
81
|
+
sameElse: "L"
|
|
82
|
+
},
|
|
83
|
+
relativeTime: {
|
|
84
|
+
future: "over %s",
|
|
85
|
+
past: "%s geleden",
|
|
86
|
+
s: "een paar seconden",
|
|
87
|
+
ss: "%d seconden",
|
|
88
|
+
m: "een minuut",
|
|
89
|
+
mm: "%d minuten",
|
|
90
|
+
h: "een uur",
|
|
91
|
+
hh: "%d uur",
|
|
92
|
+
d: "een dag",
|
|
93
|
+
dd: "%d dagen",
|
|
94
|
+
w: "één week",
|
|
95
|
+
ww: "%d weken",
|
|
96
|
+
M: "een maand",
|
|
97
|
+
MM: "%d maanden",
|
|
98
|
+
y: "een jaar",
|
|
99
|
+
yy: "%d jaar"
|
|
100
|
+
},
|
|
101
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
102
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
103
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
2
106
|
|
|
3
|
-
|
|
107
|
+
//#endregion
|
|
108
|
+
export { localeNl as default };
|
package/locales/nn.d.ts
CHANGED
package/locales/nn.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeNn = {
|
|
|
56
56
|
"nov",
|
|
57
57
|
"des"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
59
60
|
ordinal: (n) => `${n}.`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeNn = {
|
|
|
90
91
|
hh: "%d timar",
|
|
91
92
|
d: "ein dag",
|
|
92
93
|
dd: "%d dagar",
|
|
94
|
+
w: "ei veke",
|
|
95
|
+
ww: "%d veker",
|
|
93
96
|
M: "ein månad",
|
|
94
97
|
MM: "%d månadar",
|
|
95
98
|
y: "eitt år",
|
|
@@ -100,7 +103,6 @@ const localeNn = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var nn_default = localeNn;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeNn as default };
|
package/locales/oc-lnc.d.ts
CHANGED