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/hi.js
CHANGED
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
//#region src/locales/hi.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
|
-
const months = {
|
|
31
|
-
standalone: monthStandalone,
|
|
32
|
-
format: monthFormat
|
|
33
|
-
};
|
|
34
2
|
const localeHi = {
|
|
35
3
|
name: "hi",
|
|
36
4
|
weekdays: [
|
|
@@ -60,7 +28,36 @@ const localeHi = {
|
|
|
60
28
|
"शु",
|
|
61
29
|
"श"
|
|
62
30
|
],
|
|
63
|
-
months
|
|
31
|
+
months: {
|
|
32
|
+
standalone: [
|
|
33
|
+
"जनवरी",
|
|
34
|
+
"फरवरी",
|
|
35
|
+
"मार्च",
|
|
36
|
+
"अप्रैल",
|
|
37
|
+
"मई",
|
|
38
|
+
"जून",
|
|
39
|
+
"जुलाई",
|
|
40
|
+
"अगस्त",
|
|
41
|
+
"सितंबर",
|
|
42
|
+
"अक्टूबर",
|
|
43
|
+
"नवंबर",
|
|
44
|
+
"दिसंबर"
|
|
45
|
+
],
|
|
46
|
+
format: [
|
|
47
|
+
"जनवरी",
|
|
48
|
+
"फ़रवरी",
|
|
49
|
+
"मार्च",
|
|
50
|
+
"अप्रैल",
|
|
51
|
+
"मई",
|
|
52
|
+
"जून",
|
|
53
|
+
"जुलाई",
|
|
54
|
+
"अगस्त",
|
|
55
|
+
"सितम्बर",
|
|
56
|
+
"अक्टूबर",
|
|
57
|
+
"नवम्बर",
|
|
58
|
+
"दिसम्बर"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
64
61
|
monthsShort: [
|
|
65
62
|
"जन.",
|
|
66
63
|
"फ़र.",
|
|
@@ -75,6 +72,7 @@ const localeHi = {
|
|
|
75
72
|
"नव.",
|
|
76
73
|
"दिस."
|
|
77
74
|
],
|
|
75
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
78
76
|
ordinal: (n) => `${n}`,
|
|
79
77
|
weekStart: 0,
|
|
80
78
|
yearStart: 4,
|
|
@@ -109,6 +107,8 @@ const localeHi = {
|
|
|
109
107
|
hh: "%d घंटे",
|
|
110
108
|
d: "एक दिन",
|
|
111
109
|
dd: "%d दिन",
|
|
110
|
+
w: "एक हफ़्ते में",
|
|
111
|
+
ww: "%dहफ़्तों में",
|
|
112
112
|
M: "एक महीने",
|
|
113
113
|
MM: "%d महीने",
|
|
114
114
|
y: "एक वर्ष",
|
|
@@ -119,7 +119,6 @@ const localeHi = {
|
|
|
119
119
|
return isLowercase ? m.toLowerCase() : m;
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
-
var hi_default = localeHi;
|
|
123
122
|
|
|
124
123
|
//#endregion
|
|
125
|
-
export {
|
|
124
|
+
export { localeHi as default };
|
package/locales/hr.d.ts
CHANGED
package/locales/hr.js
CHANGED
|
@@ -28,8 +28,7 @@ const monthStandalone = [
|
|
|
28
28
|
"prosinac"
|
|
29
29
|
];
|
|
30
30
|
const months = (esdayInstance, format) => {
|
|
31
|
-
|
|
32
|
-
if (MONTHS_IN_FORMAT.test(format)) return monthFormat[esdayInstance.month()];
|
|
31
|
+
if (/D[oD]?(?:\[[^[\]]*\]|\s)+MMMM?/.test(format)) return monthFormat[esdayInstance.month()];
|
|
33
32
|
return monthStandalone[esdayInstance.month()];
|
|
34
33
|
};
|
|
35
34
|
months.format = monthFormat;
|
|
@@ -89,6 +88,11 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, _isFuture) => {
|
|
|
89
88
|
if (timeValueAsNumber === 1) result += "dan";
|
|
90
89
|
else result += "dana";
|
|
91
90
|
return result;
|
|
91
|
+
case "ww":
|
|
92
|
+
if (timeValueAsNumber === 1) result += "tjedan";
|
|
93
|
+
else if (timeValueAsNumber === 2 || timeValueAsNumber === 3 || timeValueAsNumber === 4) result += "tjedna";
|
|
94
|
+
else result += "tjedana";
|
|
95
|
+
return result;
|
|
92
96
|
case "MM":
|
|
93
97
|
if (timeValueAsNumber === 1) result += "mjesec";
|
|
94
98
|
else if (timeValueAsNumber === 2 || timeValueAsNumber === 3 || timeValueAsNumber === 4) result += "mjeseca";
|
|
@@ -146,6 +150,7 @@ const localeHr = {
|
|
|
146
150
|
"stu.",
|
|
147
151
|
"pro."
|
|
148
152
|
],
|
|
153
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
149
154
|
ordinal: (n) => `${n}.`,
|
|
150
155
|
weekStart: 1,
|
|
151
156
|
yearStart: 4,
|
|
@@ -173,6 +178,8 @@ const localeHr = {
|
|
|
173
178
|
hh: relativeTimeFormatter,
|
|
174
179
|
d: "dan",
|
|
175
180
|
dd: relativeTimeFormatter,
|
|
181
|
+
w: "jednog tjedna",
|
|
182
|
+
ww: relativeTimeFormatter,
|
|
176
183
|
M: "mjesec",
|
|
177
184
|
MM: relativeTimeFormatter,
|
|
178
185
|
y: "godina",
|
|
@@ -183,7 +190,6 @@ const localeHr = {
|
|
|
183
190
|
return isLowercase ? m.toLowerCase() : m;
|
|
184
191
|
}
|
|
185
192
|
};
|
|
186
|
-
var hr_default = localeHr;
|
|
187
193
|
|
|
188
194
|
//#endregion
|
|
189
|
-
export {
|
|
195
|
+
export { localeHr as default };
|
package/locales/ht.d.ts
CHANGED
package/locales/ht.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeHt = {
|
|
|
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 localeHt = {
|
|
|
90
91
|
hh: "%d zè",
|
|
91
92
|
d: "yon jou",
|
|
92
93
|
dd: "%d jou",
|
|
94
|
+
w: "yon semèn",
|
|
95
|
+
ww: "%d semèn",
|
|
93
96
|
M: "yon mwa",
|
|
94
97
|
MM: "%d mwa",
|
|
95
98
|
y: "yon ane",
|
|
@@ -100,7 +103,6 @@ const localeHt = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var ht_default = localeHt;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeHt as default };
|
package/locales/hu.d.ts
CHANGED
package/locales/hu.js
CHANGED
|
@@ -22,6 +22,8 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
22
22
|
case "hh": return `${num} ${isFuture || withoutSuffix ? "óra" : "órája"}`;
|
|
23
23
|
case "d": return `egy${isFuture || withoutSuffix ? " nap" : " napja"}`;
|
|
24
24
|
case "dd": return `${num} ${isFuture || withoutSuffix ? "nap" : "napja"}`;
|
|
25
|
+
case "w": return `egy${isFuture || withoutSuffix ? " hét" : " múlva"}`;
|
|
26
|
+
case "ww": return `${num} ${isFuture || withoutSuffix ? "hét" : "múlva"}`;
|
|
25
27
|
case "M": return `egy${isFuture || withoutSuffix ? " hónap" : " hónapja"}`;
|
|
26
28
|
case "MM": return `${num} ${isFuture || withoutSuffix ? "hónap" : "hónapja"}`;
|
|
27
29
|
case "y": return `egy${isFuture || withoutSuffix ? " év" : " éve"}`;
|
|
@@ -86,6 +88,7 @@ const localeHu = {
|
|
|
86
88
|
"nov",
|
|
87
89
|
"dec"
|
|
88
90
|
],
|
|
91
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
89
92
|
ordinal: (n) => `${n}.`,
|
|
90
93
|
weekStart: 1,
|
|
91
94
|
yearStart: 4,
|
|
@@ -124,6 +127,8 @@ const localeHu = {
|
|
|
124
127
|
hh: relativeTimeFormatter,
|
|
125
128
|
d: relativeTimeFormatter,
|
|
126
129
|
dd: relativeTimeFormatter,
|
|
130
|
+
w: relativeTimeFormatter,
|
|
131
|
+
ww: relativeTimeFormatter,
|
|
127
132
|
M: relativeTimeFormatter,
|
|
128
133
|
MM: relativeTimeFormatter,
|
|
129
134
|
y: relativeTimeFormatter,
|
|
@@ -134,7 +139,6 @@ const localeHu = {
|
|
|
134
139
|
return isLowercase ? m.toLowerCase() : m;
|
|
135
140
|
}
|
|
136
141
|
};
|
|
137
|
-
var hu_default = localeHu;
|
|
138
142
|
|
|
139
143
|
//#endregion
|
|
140
|
-
export {
|
|
144
|
+
export { localeHu as default };
|
package/locales/hy-am.d.ts
CHANGED
package/locales/hy-am.js
CHANGED
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
//#region src/locales/hy-am.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
|
-
const months = {
|
|
31
|
-
standalone: monthStandalone,
|
|
32
|
-
format: monthFormat
|
|
33
|
-
};
|
|
34
2
|
const localeHyAm = {
|
|
35
3
|
name: "hy-AM",
|
|
36
4
|
weekdays: [
|
|
@@ -60,7 +28,36 @@ const localeHyAm = {
|
|
|
60
28
|
"ուրբ",
|
|
61
29
|
"շբթ"
|
|
62
30
|
],
|
|
63
|
-
months
|
|
31
|
+
months: {
|
|
32
|
+
standalone: [
|
|
33
|
+
"հունվար",
|
|
34
|
+
"փետրվար",
|
|
35
|
+
"մարտ",
|
|
36
|
+
"ապրիլ",
|
|
37
|
+
"մայիս",
|
|
38
|
+
"հունիս",
|
|
39
|
+
"հուլիս",
|
|
40
|
+
"օգոստոս",
|
|
41
|
+
"սեպտեմբեր",
|
|
42
|
+
"հոկտեմբեր",
|
|
43
|
+
"նոյեմբեր",
|
|
44
|
+
"դեկտեմբեր"
|
|
45
|
+
],
|
|
46
|
+
format: [
|
|
47
|
+
"հունվարի",
|
|
48
|
+
"փետրվարի",
|
|
49
|
+
"մարտի",
|
|
50
|
+
"ապրիլի",
|
|
51
|
+
"մայիսի",
|
|
52
|
+
"հունիսի",
|
|
53
|
+
"հուլիսի",
|
|
54
|
+
"օգոստոսի",
|
|
55
|
+
"սեպտեմբերի",
|
|
56
|
+
"հոկտեմբերի",
|
|
57
|
+
"նոյեմբերի",
|
|
58
|
+
"դեկտեմբերի"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
64
61
|
monthsShort: [
|
|
65
62
|
"հնվ",
|
|
66
63
|
"փտր",
|
|
@@ -75,6 +72,7 @@ const localeHyAm = {
|
|
|
75
72
|
"նմբ",
|
|
76
73
|
"դկտ"
|
|
77
74
|
],
|
|
75
|
+
dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
|
|
78
76
|
ordinal: (n) => `${n}`,
|
|
79
77
|
weekStart: 1,
|
|
80
78
|
yearStart: 1,
|
|
@@ -109,6 +107,8 @@ const localeHyAm = {
|
|
|
109
107
|
hh: "%d ժամ",
|
|
110
108
|
d: "օր",
|
|
111
109
|
dd: "%d օր",
|
|
110
|
+
w: "շաբաթից",
|
|
111
|
+
ww: "%d շաբաթից",
|
|
112
112
|
M: "ամիս",
|
|
113
113
|
MM: "%d ամիս",
|
|
114
114
|
y: "տարի",
|
|
@@ -121,7 +121,6 @@ const localeHyAm = {
|
|
|
121
121
|
return "երեկոյան";
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
-
var hy_am_default = localeHyAm;
|
|
125
124
|
|
|
126
125
|
//#endregion
|
|
127
|
-
export {
|
|
126
|
+
export { localeHyAm as default };
|
package/locales/id.d.ts
CHANGED
package/locales/id.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeId = {
|
|
|
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 localeId = {
|
|
|
90
91
|
hh: "%d jam",
|
|
91
92
|
d: "sehari",
|
|
92
93
|
dd: "%d hari",
|
|
94
|
+
w: "seminggu",
|
|
95
|
+
ww: "%d minggu",
|
|
93
96
|
M: "sebulan",
|
|
94
97
|
MM: "%d bulan",
|
|
95
98
|
y: "setahun",
|
|
@@ -100,7 +103,6 @@ const localeId = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var id_default = localeId;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeId as default };
|
package/locales/is.d.ts
CHANGED
package/locales/is.js
CHANGED
|
@@ -31,6 +31,16 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
31
31
|
}
|
|
32
32
|
if (withoutSuffix) return `${result}dagur`;
|
|
33
33
|
return `${result}${isFuture ? "dag" : "degi"}`;
|
|
34
|
+
case "w":
|
|
35
|
+
if (withoutSuffix) return "vika";
|
|
36
|
+
return isFuture ? "viku" : "viku";
|
|
37
|
+
case "ww":
|
|
38
|
+
if (plural(timeValueAsNumber)) {
|
|
39
|
+
if (withoutSuffix) return `${result}vikur`;
|
|
40
|
+
return `${result}${isFuture ? "vikur" : "vikum"}`;
|
|
41
|
+
}
|
|
42
|
+
if (withoutSuffix) return `${result}vikur`;
|
|
43
|
+
return `${result}${isFuture ? "viku" : "viku"}`;
|
|
34
44
|
case "M":
|
|
35
45
|
if (withoutSuffix) return "mánuður";
|
|
36
46
|
return isFuture ? "mánuð" : "mánuði";
|
|
@@ -105,6 +115,7 @@ const localeIs = {
|
|
|
105
115
|
"nóv",
|
|
106
116
|
"des"
|
|
107
117
|
],
|
|
118
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
108
119
|
ordinal: (n) => `${n}`,
|
|
109
120
|
weekStart: 1,
|
|
110
121
|
yearStart: 4,
|
|
@@ -139,6 +150,8 @@ const localeIs = {
|
|
|
139
150
|
hh: relativeTimeFormatter,
|
|
140
151
|
d: relativeTimeFormatter,
|
|
141
152
|
dd: relativeTimeFormatter,
|
|
153
|
+
w: relativeTimeFormatter,
|
|
154
|
+
ww: relativeTimeFormatter,
|
|
142
155
|
M: relativeTimeFormatter,
|
|
143
156
|
MM: relativeTimeFormatter,
|
|
144
157
|
y: relativeTimeFormatter,
|
|
@@ -149,7 +162,6 @@ const localeIs = {
|
|
|
149
162
|
return isLowercase ? m.toLowerCase() : m;
|
|
150
163
|
}
|
|
151
164
|
};
|
|
152
|
-
var is_default = localeIs;
|
|
153
165
|
|
|
154
166
|
//#endregion
|
|
155
|
-
export {
|
|
167
|
+
export { localeIs as default };
|
package/locales/it-ch.d.ts
CHANGED
package/locales/it-ch.js
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { it_default } from "../chunks/B5f9poqo.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.js";
|
|
2
|
+
import localeIt from "./it.js";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/it-ch.ts
|
|
9
|
-
const localeItCh = cloneLocale(
|
|
5
|
+
const localeItCh = cloneLocale(localeIt);
|
|
10
6
|
const formats = structuredClone(localeItCh.formats);
|
|
11
7
|
formats.L = "DD.MM.YYYY";
|
|
12
8
|
formats.l = "DD.MM.YYYY";
|
|
@@ -26,7 +22,6 @@ const calendar = {
|
|
|
26
22
|
setLocaleProperty(localeItCh, "name", "it-CH");
|
|
27
23
|
setLocaleProperty(localeItCh, "formats", formats);
|
|
28
24
|
setLocaleProperty(localeItCh, "calendar", calendar);
|
|
29
|
-
var it_ch_default = localeItCh;
|
|
30
25
|
|
|
31
26
|
//#endregion
|
|
32
|
-
export {
|
|
27
|
+
export { localeItCh as default };
|
package/locales/it.d.ts
CHANGED
package/locales/it.js
CHANGED
|
@@ -1,3 +1,121 @@
|
|
|
1
|
-
|
|
1
|
+
//#region src/locales/it.ts
|
|
2
|
+
const localeIt = {
|
|
3
|
+
name: "it",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"domenica",
|
|
6
|
+
"lunedì",
|
|
7
|
+
"martedì",
|
|
8
|
+
"mercoledì",
|
|
9
|
+
"giovedì",
|
|
10
|
+
"venerdì",
|
|
11
|
+
"sabato"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"dom",
|
|
15
|
+
"lun",
|
|
16
|
+
"mar",
|
|
17
|
+
"mer",
|
|
18
|
+
"gio",
|
|
19
|
+
"ven",
|
|
20
|
+
"sab"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"do",
|
|
24
|
+
"lu",
|
|
25
|
+
"ma",
|
|
26
|
+
"me",
|
|
27
|
+
"gi",
|
|
28
|
+
"ve",
|
|
29
|
+
"sa"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"gennaio",
|
|
33
|
+
"febbraio",
|
|
34
|
+
"marzo",
|
|
35
|
+
"aprile",
|
|
36
|
+
"maggio",
|
|
37
|
+
"giugno",
|
|
38
|
+
"luglio",
|
|
39
|
+
"agosto",
|
|
40
|
+
"settembre",
|
|
41
|
+
"ottobre",
|
|
42
|
+
"novembre",
|
|
43
|
+
"dicembre"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"gen",
|
|
47
|
+
"feb",
|
|
48
|
+
"mar",
|
|
49
|
+
"apr",
|
|
50
|
+
"mag",
|
|
51
|
+
"giu",
|
|
52
|
+
"lug",
|
|
53
|
+
"ago",
|
|
54
|
+
"set",
|
|
55
|
+
"ott",
|
|
56
|
+
"nov",
|
|
57
|
+
"dic"
|
|
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() {
|
|
77
|
+
return `[Oggi a${this.hour() > 1 ? "lle " : this.hour() === 0 ? " " : "ll'"}]LT`;
|
|
78
|
+
},
|
|
79
|
+
nextDay() {
|
|
80
|
+
return `[Domani a${this.hour() > 1 ? "lle " : this.hour() === 0 ? " " : "ll'"}]LT`;
|
|
81
|
+
},
|
|
82
|
+
nextWeek() {
|
|
83
|
+
return `dddd [a${this.hour() > 1 ? "lle " : this.hour() === 0 ? " " : "ll'"}]LT`;
|
|
84
|
+
},
|
|
85
|
+
lastDay() {
|
|
86
|
+
return `[Ieri a${this.hour() > 1 ? "lle " : this.hour() === 0 ? " " : "ll'"}]LT`;
|
|
87
|
+
},
|
|
88
|
+
lastWeek() {
|
|
89
|
+
switch (this.day()) {
|
|
90
|
+
case 0: return `[La scorsa] dddd [a${this.hour() > 1 ? "lle " : this.hour() === 0 ? " " : "ll'"}]LT`;
|
|
91
|
+
default: return `[Lo scorso] dddd [a${this.hour() > 1 ? "lle " : this.hour() === 0 ? " " : "ll'"}]LT`;
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
sameElse: "L"
|
|
95
|
+
},
|
|
96
|
+
relativeTime: {
|
|
97
|
+
future: "tra %s",
|
|
98
|
+
past: "%s fa",
|
|
99
|
+
s: "qualche secondo",
|
|
100
|
+
ss: "%d secondi",
|
|
101
|
+
m: "un minuto",
|
|
102
|
+
mm: "%d minuti",
|
|
103
|
+
h: "un' ora",
|
|
104
|
+
hh: "%d ore",
|
|
105
|
+
d: "un giorno",
|
|
106
|
+
dd: "%d giorni",
|
|
107
|
+
w: "una settimana",
|
|
108
|
+
ww: "%d settimane",
|
|
109
|
+
M: "un mese",
|
|
110
|
+
MM: "%d mesi",
|
|
111
|
+
y: "un anno",
|
|
112
|
+
yy: "%d anni"
|
|
113
|
+
},
|
|
114
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
115
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
116
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
117
|
+
}
|
|
118
|
+
};
|
|
2
119
|
|
|
3
|
-
|
|
120
|
+
//#endregion
|
|
121
|
+
export { localeIt as default };
|
package/locales/ja.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/ja.d.ts
|
|
6
|
-
|
|
7
4
|
declare module 'esday' {
|
|
8
5
|
interface EsDay {
|
|
9
6
|
week(): number;
|
package/locales/ja.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeJa = {
|
|
|
56
56
|
"11月",
|
|
57
57
|
"12月"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}日/,
|
|
59
60
|
ordinal: (n) => `${n}日`,
|
|
60
61
|
weekStart: 0,
|
|
61
62
|
yearStart: 4,
|
|
@@ -96,6 +97,8 @@ const localeJa = {
|
|
|
96
97
|
hh: "%d時間",
|
|
97
98
|
d: "1日",
|
|
98
99
|
dd: "%d日",
|
|
100
|
+
w: "1週間後",
|
|
101
|
+
ww: "%d週間後",
|
|
99
102
|
M: "1ヶ月",
|
|
100
103
|
MM: "%dヶ月",
|
|
101
104
|
y: "1年",
|
|
@@ -103,7 +106,6 @@ const localeJa = {
|
|
|
103
106
|
},
|
|
104
107
|
meridiem: (hour) => hour < 12 ? "午前" : "午後"
|
|
105
108
|
};
|
|
106
|
-
var ja_default = localeJa;
|
|
107
109
|
|
|
108
110
|
//#endregion
|
|
109
|
-
export {
|
|
111
|
+
export { localeJa as default };
|
package/locales/jv.d.ts
CHANGED
package/locales/jv.js
CHANGED
|
@@ -56,6 +56,7 @@ const localeJv = {
|
|
|
56
56
|
"Nop",
|
|
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 localeJv = {
|
|
|
90
91
|
hh: "%d jam",
|
|
91
92
|
d: "sedinten",
|
|
92
93
|
dd: "%d dinten",
|
|
94
|
+
w: "seminggu",
|
|
95
|
+
ww: "%d minggu",
|
|
93
96
|
M: "sewulan",
|
|
94
97
|
MM: "%d wulan",
|
|
95
98
|
y: "setaun",
|
|
@@ -100,7 +103,6 @@ const localeJv = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var jv_default = localeJv;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeJv as default };
|
package/locales/ka.d.ts
CHANGED