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/ug-cn.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeUgCn = {
|
|
|
56
56
|
"نويابىر",
|
|
57
57
|
"دېكابىر"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 1,
|
|
@@ -90,6 +91,8 @@ const localeUgCn = {
|
|
|
90
91
|
hh: "%d سائەت",
|
|
91
92
|
d: "بىر كۈن",
|
|
92
93
|
dd: "%d كۈن",
|
|
94
|
+
w: "بىر ھەپتە",
|
|
95
|
+
ww: "%d ھەپتە",
|
|
93
96
|
M: "بىر ئاي",
|
|
94
97
|
MM: "%d ئاي",
|
|
95
98
|
y: "بىر يىل",
|
|
@@ -105,7 +108,6 @@ const localeUgCn = {
|
|
|
105
108
|
return "كەچ";
|
|
106
109
|
}
|
|
107
110
|
};
|
|
108
|
-
var ug_cn_default = localeUgCn;
|
|
109
111
|
|
|
110
112
|
//#endregion
|
|
111
|
-
export {
|
|
113
|
+
export { localeUgCn as default };
|
package/locales/uk.d.ts
CHANGED
package/locales/uk.js
CHANGED
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
//#region src/locales/uk.ts
|
|
2
|
-
const monthFormat = [
|
|
3
|
-
"січня",
|
|
4
|
-
"лютого",
|
|
5
|
-
"березня",
|
|
6
|
-
"квітня",
|
|
7
|
-
"травня",
|
|
8
|
-
"червня",
|
|
9
|
-
"липня",
|
|
10
|
-
"серпня",
|
|
11
|
-
"вересня",
|
|
12
|
-
"жовтня",
|
|
13
|
-
"листопада",
|
|
14
|
-
"грудня"
|
|
15
|
-
];
|
|
16
|
-
const monthStandalone = [
|
|
17
|
-
"січень",
|
|
18
|
-
"лютий",
|
|
19
|
-
"березень",
|
|
20
|
-
"квітень",
|
|
21
|
-
"травень",
|
|
22
|
-
"червень",
|
|
23
|
-
"липень",
|
|
24
|
-
"серпень",
|
|
25
|
-
"вересень",
|
|
26
|
-
"жовтень",
|
|
27
|
-
"листопад",
|
|
28
|
-
"грудень"
|
|
29
|
-
];
|
|
30
2
|
const months = {
|
|
31
|
-
standalone:
|
|
32
|
-
|
|
3
|
+
standalone: [
|
|
4
|
+
"січень",
|
|
5
|
+
"лютий",
|
|
6
|
+
"березень",
|
|
7
|
+
"квітень",
|
|
8
|
+
"травень",
|
|
9
|
+
"червень",
|
|
10
|
+
"липень",
|
|
11
|
+
"серпень",
|
|
12
|
+
"вересень",
|
|
13
|
+
"жовтень",
|
|
14
|
+
"листопад",
|
|
15
|
+
"грудень"
|
|
16
|
+
],
|
|
17
|
+
format: [
|
|
18
|
+
"січня",
|
|
19
|
+
"лютого",
|
|
20
|
+
"березня",
|
|
21
|
+
"квітня",
|
|
22
|
+
"травня",
|
|
23
|
+
"червня",
|
|
24
|
+
"липня",
|
|
25
|
+
"серпня",
|
|
26
|
+
"вересня",
|
|
27
|
+
"жовтня",
|
|
28
|
+
"листопада",
|
|
29
|
+
"грудня"
|
|
30
|
+
]
|
|
33
31
|
};
|
|
34
32
|
function processHoursFunction(prefix) {
|
|
35
33
|
return function() {
|
|
@@ -74,6 +72,11 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, _isFuture) => {
|
|
|
74
72
|
"дні",
|
|
75
73
|
"днів"
|
|
76
74
|
],
|
|
75
|
+
ww: [
|
|
76
|
+
"тиждень",
|
|
77
|
+
"тижні",
|
|
78
|
+
"тижнів"
|
|
79
|
+
],
|
|
77
80
|
MM: [
|
|
78
81
|
"місяць",
|
|
79
82
|
"місяці",
|
|
@@ -133,6 +136,7 @@ const localeUk = {
|
|
|
133
136
|
"лист",
|
|
134
137
|
"груд"
|
|
135
138
|
],
|
|
139
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
|
|
136
140
|
ordinal: (n) => `${n}`,
|
|
137
141
|
weekStart: 1,
|
|
138
142
|
yearStart: 4,
|
|
@@ -178,6 +182,8 @@ const localeUk = {
|
|
|
178
182
|
hh: relativeTimeFormatter,
|
|
179
183
|
d: "день",
|
|
180
184
|
dd: relativeTimeFormatter,
|
|
185
|
+
w: "тиждень",
|
|
186
|
+
ww: relativeTimeFormatter,
|
|
181
187
|
M: "місяць",
|
|
182
188
|
MM: relativeTimeFormatter,
|
|
183
189
|
y: "рік",
|
|
@@ -188,7 +194,6 @@ const localeUk = {
|
|
|
188
194
|
return isLowercase ? m.toLowerCase() : m;
|
|
189
195
|
}
|
|
190
196
|
};
|
|
191
|
-
var uk_default = localeUk;
|
|
192
197
|
|
|
193
198
|
//#endregion
|
|
194
|
-
export {
|
|
199
|
+
export { localeUk as default };
|
package/locales/ur.d.ts
CHANGED
package/locales/ur.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeUr = {
|
|
|
56
56
|
"نومبر",
|
|
57
57
|
"دسمبر"
|
|
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 localeUr = {
|
|
|
90
91
|
hh: "%d گھنٹے",
|
|
91
92
|
d: "ایک دن",
|
|
92
93
|
dd: "%d دن",
|
|
94
|
+
w: "ایک ہفتہ",
|
|
95
|
+
ww: "%d ہفتے",
|
|
93
96
|
M: "ایک ماہ",
|
|
94
97
|
MM: "%d ماہ",
|
|
95
98
|
y: "ایک سال",
|
|
@@ -102,7 +105,6 @@ const localeUr = {
|
|
|
102
105
|
preParse: (dateString) => dateString.replace(/،/g, ","),
|
|
103
106
|
postFormat: (formattedDate) => formattedDate.replace(/,/g, "،")
|
|
104
107
|
};
|
|
105
|
-
var ur_default = localeUr;
|
|
106
108
|
|
|
107
109
|
//#endregion
|
|
108
|
-
export {
|
|
110
|
+
export { localeUr as default };
|
package/locales/uz-latn.d.ts
CHANGED
package/locales/uz-latn.js
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { uz_default } from "../chunks/CQJ0-ZuR.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeUz from "./uz.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/uz-latn.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Uzbek Latin [uz-LATN]
|
|
7
|
+
*/
|
|
8
|
+
const localeUzLatn = cloneLocale(localeUz);
|
|
10
9
|
const weekdays = [
|
|
11
10
|
"asamas",
|
|
12
11
|
"aynas",
|
|
@@ -49,6 +48,8 @@ const relativeTime = {
|
|
|
49
48
|
hh: "%d soat",
|
|
50
49
|
d: "bir kun",
|
|
51
50
|
dd: "%d kun",
|
|
51
|
+
w: "bir hafta",
|
|
52
|
+
ww: "%d hafta",
|
|
52
53
|
M: "bir oy",
|
|
53
54
|
MM: "%d oy",
|
|
54
55
|
y: "bir yil",
|
|
@@ -62,7 +63,6 @@ setLocaleProperty(localeUzLatn, "months", months);
|
|
|
62
63
|
setLocaleProperty(localeUzLatn, "monthsShort", months);
|
|
63
64
|
setLocaleProperty(localeUzLatn, "calendar", calendar);
|
|
64
65
|
setLocaleProperty(localeUzLatn, "relativeTime", relativeTime);
|
|
65
|
-
var uz_latn_default = localeUzLatn;
|
|
66
66
|
|
|
67
67
|
//#endregion
|
|
68
|
-
export {
|
|
68
|
+
export { localeUzLatn as default };
|
package/locales/uz.d.ts
CHANGED
package/locales/uz.js
CHANGED
|
@@ -1,3 +1,108 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/locales/uz.ts
|
|
2
|
+
const localeUz = {
|
|
3
|
+
name: "uz",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"Якшанба",
|
|
6
|
+
"Душанба",
|
|
7
|
+
"Сешанба",
|
|
8
|
+
"Чоршанба",
|
|
9
|
+
"Пайшанба",
|
|
10
|
+
"Жума",
|
|
11
|
+
"Шанба"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"Якш",
|
|
15
|
+
"Душ",
|
|
16
|
+
"Сеш",
|
|
17
|
+
"Чор",
|
|
18
|
+
"Пай",
|
|
19
|
+
"Жум",
|
|
20
|
+
"Шан"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"Як",
|
|
24
|
+
"Ду",
|
|
25
|
+
"Се",
|
|
26
|
+
"Чо",
|
|
27
|
+
"Па",
|
|
28
|
+
"Жу",
|
|
29
|
+
"Ша"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"январ",
|
|
33
|
+
"феврал",
|
|
34
|
+
"март",
|
|
35
|
+
"апрел",
|
|
36
|
+
"май",
|
|
37
|
+
"июн",
|
|
38
|
+
"июл",
|
|
39
|
+
"август",
|
|
40
|
+
"сентябр",
|
|
41
|
+
"октябр",
|
|
42
|
+
"ноябр",
|
|
43
|
+
"декабр"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"янв",
|
|
47
|
+
"фев",
|
|
48
|
+
"мар",
|
|
49
|
+
"апр",
|
|
50
|
+
"май",
|
|
51
|
+
"июн",
|
|
52
|
+
"июл",
|
|
53
|
+
"авг",
|
|
54
|
+
"сен",
|
|
55
|
+
"окт",
|
|
56
|
+
"ноя",
|
|
57
|
+
"дек"
|
|
58
|
+
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
60
|
+
ordinal: (n) => `${n}`,
|
|
61
|
+
weekStart: 1,
|
|
62
|
+
yearStart: 1,
|
|
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: "D MMMM YYYY, dddd HH:mm",
|
|
70
|
+
l: "DD/MM/YYYY",
|
|
71
|
+
ll: "D MMMM YYYY",
|
|
72
|
+
lll: "D MMMM YYYY HH:mm",
|
|
73
|
+
llll: "D MMMM YYYY, dddd HH:mm"
|
|
74
|
+
},
|
|
75
|
+
calendar: {
|
|
76
|
+
sameDay: "[Бугун соат] LT [да]",
|
|
77
|
+
nextDay: "[Эртага] LT [да]",
|
|
78
|
+
nextWeek: "dddd [куни соат] LT [да]",
|
|
79
|
+
lastDay: "[Кеча соат] LT [да]",
|
|
80
|
+
lastWeek: "[Утган] dddd [куни соат] LT [да]",
|
|
81
|
+
sameElse: "L"
|
|
82
|
+
},
|
|
83
|
+
relativeTime: {
|
|
84
|
+
future: "Якин %s ичида",
|
|
85
|
+
past: "%s олдин",
|
|
86
|
+
s: "фурсат",
|
|
87
|
+
ss: "%d фурсат",
|
|
88
|
+
m: "бир дакика",
|
|
89
|
+
mm: "%d дакика",
|
|
90
|
+
h: "бир соат",
|
|
91
|
+
hh: "%d соат",
|
|
92
|
+
d: "бир кун",
|
|
93
|
+
dd: "%d кун",
|
|
94
|
+
w: "бир хафта",
|
|
95
|
+
ww: "%d хафта",
|
|
96
|
+
M: "бир ой",
|
|
97
|
+
MM: "%d ой",
|
|
98
|
+
y: "бир йил",
|
|
99
|
+
yy: "%d йил"
|
|
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 { localeUz as default };
|
package/locales/vi.d.ts
CHANGED
package/locales/vi.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeVi = {
|
|
|
56
56
|
"Th11",
|
|
57
57
|
"Th12"
|
|
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 localeVi = {
|
|
|
90
91
|
hh: "%d giờ",
|
|
91
92
|
d: "một ngày",
|
|
92
93
|
dd: "%d ngày",
|
|
94
|
+
w: "một tuần",
|
|
95
|
+
ww: "%d tuần",
|
|
93
96
|
M: "một tháng",
|
|
94
97
|
MM: "%d tháng",
|
|
95
98
|
y: "một năm",
|
|
@@ -100,7 +103,6 @@ const localeVi = {
|
|
|
100
103
|
return isLowercase ? "ch" : "CH";
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var vi_default = localeVi;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeVi as default };
|
package/locales/x-pseudo.d.ts
CHANGED
package/locales/x-pseudo.js
CHANGED
|
@@ -56,10 +56,10 @@ const localeXpseudo = {
|
|
|
56
56
|
"~Ñóv",
|
|
57
57
|
"~Déc"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
|
|
59
60
|
ordinal: (n) => {
|
|
60
61
|
const one = n % 10;
|
|
61
|
-
|
|
62
|
-
return `${n}${output}`;
|
|
62
|
+
return `${n}${~~(n % 100 / 10) === 1 ? "th" : one === 1 ? "st" : one === 2 ? "nd" : one === 3 ? "rd" : "th"}`;
|
|
63
63
|
},
|
|
64
64
|
weekStart: 1,
|
|
65
65
|
yearStart: 4,
|
|
@@ -94,6 +94,8 @@ const localeXpseudo = {
|
|
|
94
94
|
hh: "%d h~óúrs",
|
|
95
95
|
d: "á ~dáý",
|
|
96
96
|
dd: "%d d~áýs",
|
|
97
|
+
w: "á ~wéék",
|
|
98
|
+
ww: "%d w~ééks",
|
|
97
99
|
M: "á ~móñ~th",
|
|
98
100
|
MM: "%d m~óñt~hs",
|
|
99
101
|
y: "á ~ýéár",
|
|
@@ -104,7 +106,6 @@ const localeXpseudo = {
|
|
|
104
106
|
return isLowercase ? m.toLowerCase() : m;
|
|
105
107
|
}
|
|
106
108
|
};
|
|
107
|
-
var x_pseudo_default = localeXpseudo;
|
|
108
109
|
|
|
109
110
|
//#endregion
|
|
110
|
-
export {
|
|
111
|
+
export { localeXpseudo as default };
|
package/locales/yo.d.ts
CHANGED
package/locales/yo.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeYo = {
|
|
|
56
56
|
"Bél",
|
|
57
57
|
"Ọ̀pẹ̀̀"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
|
|
59
60
|
ordinal: (n) => `ọjọ́ ${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeYo = {
|
|
|
90
91
|
hh: "wákati %d",
|
|
91
92
|
d: "ọjọ́ kan",
|
|
92
93
|
dd: "ọjọ́ %d",
|
|
94
|
+
w: "ọsẹ kan",
|
|
95
|
+
ww: "ọsẹ %d",
|
|
93
96
|
M: "osù kan",
|
|
94
97
|
MM: "osù %d",
|
|
95
98
|
y: "ọdún kan",
|
|
@@ -100,7 +103,6 @@ const localeYo = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var yo_default = localeYo;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeYo as default };
|
package/locales/zh-cn.d.ts
CHANGED
package/locales/zh-cn.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 { zh_default } from "../chunks/BXRGSAJG.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeZh from "./zh.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/zh-cn.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Chinese (China) [zh-CN]
|
|
7
|
+
*/
|
|
8
|
+
const localeZhCn = cloneLocale(localeZh);
|
|
10
9
|
setLocaleProperty(localeZhCn, "name", "zh-CN");
|
|
11
|
-
var zh_cn_default = localeZhCn;
|
|
12
10
|
|
|
13
11
|
//#endregion
|
|
14
|
-
export {
|
|
12
|
+
export { localeZhCn as default };
|
package/locales/zh-hk.d.ts
CHANGED
package/locales/zh-hk.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { zh_default } from "../chunks/BXRGSAJG.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeZh from "./zh.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/zh-hk.ts
|
|
5
|
+
/**
|
|
6
|
+
* Chinese (Hong Kong) [zh-HK]
|
|
7
|
+
*/
|
|
9
8
|
const calendar = {
|
|
10
9
|
sameDay: "[今天]LT",
|
|
11
10
|
nextDay: "[明天]LT",
|
|
@@ -14,10 +13,9 @@ const calendar = {
|
|
|
14
13
|
lastWeek: "[上]ddddLT",
|
|
15
14
|
sameElse: "L"
|
|
16
15
|
};
|
|
17
|
-
const localeZhHk = cloneLocale(
|
|
16
|
+
const localeZhHk = cloneLocale(localeZh);
|
|
18
17
|
setLocaleProperty(localeZhHk, "name", "zh-HK");
|
|
19
18
|
setLocaleProperty(localeZhHk, "calendar", calendar);
|
|
20
|
-
var zh_hk_default = localeZhHk;
|
|
21
19
|
|
|
22
20
|
//#endregion
|
|
23
|
-
export {
|
|
21
|
+
export { localeZhHk as default };
|
package/locales/zh-mo.d.ts
CHANGED
package/locales/zh-mo.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { zh_default } from "../chunks/BXRGSAJG.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeZh from "./zh.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/zh-mo.ts
|
|
5
|
+
/**
|
|
6
|
+
* Chinese (Macau) [zh-MO]
|
|
7
|
+
*/
|
|
9
8
|
const calendar = {
|
|
10
9
|
sameDay: "[今天]LT",
|
|
11
10
|
nextDay: "[明天]LT",
|
|
@@ -14,10 +13,9 @@ const calendar = {
|
|
|
14
13
|
lastWeek: "[上]ddddLT",
|
|
15
14
|
sameElse: "L"
|
|
16
15
|
};
|
|
17
|
-
const localeZhHk = cloneLocale(
|
|
16
|
+
const localeZhHk = cloneLocale(localeZh);
|
|
18
17
|
setLocaleProperty(localeZhHk, "name", "zh-MO");
|
|
19
18
|
setLocaleProperty(localeZhHk, "calendar", calendar);
|
|
20
|
-
var zh_mo_default = localeZhHk;
|
|
21
19
|
|
|
22
20
|
//#endregion
|
|
23
|
-
export {
|
|
21
|
+
export { localeZhHk as default };
|
package/locales/zh-tw.d.ts
CHANGED
package/locales/zh-tw.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { zh_default } from "../chunks/BXRGSAJG.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeZh from "./zh.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/zh-tw.ts
|
|
5
|
+
/**
|
|
6
|
+
* Chinese (Taiwan) [zh-TW]
|
|
7
|
+
*/
|
|
9
8
|
const calendar = {
|
|
10
9
|
sameDay: "[今天] LT",
|
|
11
10
|
nextDay: "[明天] LT",
|
|
@@ -14,10 +13,9 @@ const calendar = {
|
|
|
14
13
|
lastWeek: "[上]dddd LT",
|
|
15
14
|
sameElse: "L"
|
|
16
15
|
};
|
|
17
|
-
const localeZhTw = cloneLocale(
|
|
16
|
+
const localeZhTw = cloneLocale(localeZh);
|
|
18
17
|
setLocaleProperty(localeZhTw, "name", "zh-TW");
|
|
19
18
|
setLocaleProperty(localeZhTw, "calendar", calendar);
|
|
20
|
-
var zh_tw_default = localeZhTw;
|
|
21
19
|
|
|
22
20
|
//#endregion
|
|
23
|
-
export {
|
|
21
|
+
export { localeZhTw as default };
|
package/locales/zh.d.ts
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "../chunks/MtjcOKi-.js";
|
|
3
|
-
import { Locale } from "../chunks/St35qgL0.js";
|
|
1
|
+
import { Locale } from "../plugins/locale/index.js";
|
|
4
2
|
|
|
5
3
|
//#region src/locales/zh.d.ts
|
|
6
|
-
|
|
7
4
|
declare module 'esday' {
|
|
8
5
|
interface EsDay {
|
|
9
6
|
week(): number;
|