esday 0.4.1 → 0.5.0
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 +8 -0
- package/LICENSE +21 -0
- package/README.md +20 -2
- package/chunks/B5f9poqo.js +120 -0
- package/chunks/BDssPbM_.js +106 -0
- package/chunks/BRRrAbUl.js +56 -0
- package/chunks/BXRGSAJG.js +128 -0
- package/chunks/BeVgU2nj.js +188 -0
- package/chunks/BtmEtAW3.js +43 -0
- package/chunks/CQ57zhVp.js +106 -0
- package/chunks/CQJ0-ZuR.js +106 -0
- package/chunks/CWqzr5E5.js +108 -0
- package/chunks/Cb5SvF6r.js +25 -0
- package/chunks/Cg4ZI9v8.js +180 -0
- package/chunks/CoBtJ4c1.js +144 -0
- package/chunks/D009Z-ld.js +109 -0
- package/chunks/DMtTiWuY.js +127 -0
- package/chunks/DXHbH1CI.js +9 -0
- package/chunks/Dixb5KKs.js +116 -0
- package/chunks/DjY7KvwG.js +28 -0
- package/chunks/DqhiVwLi.d.ts +203 -0
- package/chunks/GjKpN6U-.js +135 -0
- package/chunks/MtjcOKi-.d.ts +6 -0
- package/chunks/St35qgL0.d.ts +103 -0
- package/chunks/Y32qdU_5.js +62 -0
- package/chunks/br7kModF.js +110 -0
- package/chunks/l2Rxo2H0.js +106 -0
- package/chunks/tfkJ5D3p.js +115 -0
- package/index.d.ts +3 -6
- package/index.js +556 -293
- package/locales/af.d.ts +8 -0
- package/locales/af.js +106 -0
- package/locales/am.d.ts +8 -0
- package/locales/am.js +106 -0
- package/locales/ar-dz.d.ts +11 -0
- package/locales/ar-dz.js +32 -0
- package/locales/ar-iq.d.ts +11 -0
- package/locales/ar-iq.js +14 -0
- package/locales/ar-kw.d.ts +11 -0
- package/locales/ar-kw.js +28 -0
- package/locales/ar-ly.d.ts +11 -0
- package/locales/ar-ly.js +14 -0
- package/locales/ar-ma.d.ts +11 -0
- package/locales/ar-ma.js +29 -0
- package/locales/ar-sa.d.ts +11 -0
- package/locales/ar-sa.js +29 -0
- package/locales/ar-tn.d.ts +11 -0
- package/locales/ar-tn.js +29 -0
- package/locales/ar.d.ts +8 -0
- package/locales/ar.js +3 -0
- package/locales/az.d.ts +8 -0
- package/locales/az.js +106 -0
- package/locales/be.d.ts +8 -0
- package/locales/be.js +140 -0
- package/locales/bg.d.ts +8 -0
- package/locales/bg.js +125 -0
- package/locales/bi.d.ts +8 -0
- package/locales/bi.js +106 -0
- package/locales/bm.d.ts +8 -0
- package/locales/bm.js +106 -0
- package/locales/bn-bd.d.ts +11 -0
- package/locales/bn-bd.js +24 -0
- package/locales/bn.d.ts +8 -0
- package/locales/bn.js +3 -0
- package/locales/bo.d.ts +8 -0
- package/locales/bo.js +106 -0
- package/locales/br.d.ts +8 -0
- package/locales/br.js +179 -0
- package/locales/bs.d.ts +8 -0
- package/locales/bs.js +128 -0
- package/locales/ca.d.ts +8 -0
- package/locales/ca.js +143 -0
- package/locales/cs.d.ts +8 -0
- package/locales/cs.js +182 -0
- package/locales/cv.d.ts +8 -0
- package/locales/cv.js +106 -0
- package/locales/cy.d.ts +8 -0
- package/locales/cy.js +106 -0
- package/locales/da.d.ts +8 -0
- package/locales/da.js +106 -0
- package/locales/de-at.d.ts +11 -0
- package/locales/de-at.js +44 -0
- package/locales/de-ch.d.ts +11 -0
- package/locales/de-ch.js +14 -0
- package/locales/de.d.ts +8 -0
- package/locales/de.js +3 -0
- package/locales/dv.d.ts +8 -0
- package/locales/dv.js +106 -0
- package/locales/el.d.ts +8 -0
- package/locales/el.js +115 -0
- package/locales/en-au.d.ts +11 -0
- package/locales/en-au.js +27 -0
- package/locales/en-ca.d.ts +11 -0
- package/locales/en-ca.js +27 -0
- package/locales/en-gb.d.ts +13 -0
- package/locales/en-gb.js +28 -0
- package/locales/en-ie.d.ts +11 -0
- package/locales/en-ie.js +26 -0
- package/locales/en-il.d.ts +11 -0
- package/locales/en-il.js +28 -0
- package/locales/en-in.d.ts +11 -0
- package/locales/en-in.js +26 -0
- package/locales/en-nz.d.ts +11 -0
- package/locales/en-nz.js +28 -0
- package/locales/en-sg.d.ts +11 -0
- package/locales/en-sg.js +28 -0
- package/locales/en-tt.d.ts +11 -0
- package/locales/en-tt.js +28 -0
- package/locales/en-us.d.ts +11 -0
- package/locales/en-us.js +13 -0
- package/locales/en.d.ts +7 -5
- package/locales/en.js +3 -1
- package/locales/eo.d.ts +8 -0
- package/locales/eo.js +106 -0
- package/locales/es-do.d.ts +11 -0
- package/locales/es-do.js +27 -0
- package/locales/es-mx.d.ts +11 -0
- package/locales/es-mx.js +15 -0
- package/locales/es-pr.d.ts +11 -0
- package/locales/es-pr.js +18 -0
- package/locales/es-us.d.ts +11 -0
- package/locales/es-us.js +14 -0
- package/locales/es.d.ts +8 -0
- package/locales/es.js +3 -0
- package/locales/et.d.ts +8 -0
- package/locales/et.js +142 -0
- package/locales/eu.d.ts +8 -0
- package/locales/eu.js +106 -0
- package/locales/fa.d.ts +8 -0
- package/locales/fa.js +106 -0
- package/locales/fi.d.ts +8 -0
- package/locales/fi.js +165 -0
- package/locales/fil.d.ts +8 -0
- package/locales/fil.js +106 -0
- package/locales/fo.d.ts +8 -0
- package/locales/fo.js +106 -0
- package/locales/fr-ca.d.ts +11 -0
- package/locales/fr-ca.js +18 -0
- package/locales/fr-ch.d.ts +11 -0
- package/locales/fr-ch.js +18 -0
- package/locales/fr.d.ts +8 -0
- package/locales/fr.js +3 -0
- package/locales/fy.d.ts +8 -0
- package/locales/fy.js +106 -0
- package/locales/ga.d.ts +8 -0
- package/locales/ga.js +106 -0
- package/locales/gd.d.ts +8 -0
- package/locales/gd.js +106 -0
- package/locales/gl.d.ts +8 -0
- package/locales/gl.js +116 -0
- package/locales/gom-deva.d.ts +8 -0
- package/locales/gom-deva.js +146 -0
- package/locales/gom-latn.d.ts +8 -0
- package/locales/gom-latn.js +146 -0
- package/locales/gu.d.ts +8 -0
- package/locales/gu.js +106 -0
- package/locales/he.d.ts +8 -0
- package/locales/he.js +129 -0
- package/locales/hi.d.ts +8 -0
- package/locales/hi.js +125 -0
- package/locales/hr.d.ts +8 -0
- package/locales/hr.js +189 -0
- package/locales/ht.d.ts +8 -0
- package/locales/ht.js +106 -0
- package/locales/hu.d.ts +8 -0
- package/locales/hu.js +140 -0
- package/locales/hy-am.d.ts +8 -0
- package/locales/hy-am.js +127 -0
- package/locales/id.d.ts +8 -0
- package/locales/id.js +106 -0
- package/locales/is.d.ts +8 -0
- package/locales/is.js +155 -0
- package/locales/it-ch.d.ts +11 -0
- package/locales/it-ch.js +32 -0
- package/locales/it.d.ts +8 -0
- package/locales/it.js +3 -0
- package/locales/ja.d.ts +15 -0
- package/locales/ja.js +109 -0
- package/locales/jv.d.ts +8 -0
- package/locales/jv.js +106 -0
- package/locales/ka.d.ts +8 -0
- package/locales/ka.js +126 -0
- package/locales/kk.d.ts +8 -0
- package/locales/kk.js +106 -0
- package/locales/km.d.ts +8 -0
- package/locales/km.js +106 -0
- package/locales/kn.d.ts +8 -0
- package/locales/kn.js +106 -0
- package/locales/ko.d.ts +8 -0
- package/locales/ko.js +105 -0
- package/locales/ku.d.ts +8 -0
- package/locales/ku.js +119 -0
- package/locales/ky.d.ts +8 -0
- package/locales/ky.js +106 -0
- package/locales/lb.d.ts +8 -0
- package/locales/lb.js +166 -0
- package/locales/lo.d.ts +8 -0
- package/locales/lo.js +105 -0
- package/locales/lt.d.ts +8 -0
- package/locales/lt.js +106 -0
- package/locales/lv.d.ts +8 -0
- package/locales/lv.js +106 -0
- package/locales/me.d.ts +8 -0
- package/locales/me.js +129 -0
- package/locales/mi.d.ts +8 -0
- package/locales/mi.js +106 -0
- package/locales/mk.d.ts +8 -0
- package/locales/mk.js +117 -0
- package/locales/ml.d.ts +8 -0
- package/locales/ml.js +109 -0
- package/locales/mn.d.ts +8 -0
- package/locales/mn.js +106 -0
- package/locales/mr.d.ts +8 -0
- package/locales/mr.js +215 -0
- package/locales/ms-my.d.ts +11 -0
- package/locales/ms-my.js +14 -0
- package/locales/ms.d.ts +8 -0
- package/locales/ms.js +3 -0
- package/locales/mt.d.ts +8 -0
- package/locales/mt.js +106 -0
- package/locales/my.d.ts +8 -0
- package/locales/my.js +132 -0
- package/locales/nb.d.ts +8 -0
- package/locales/nb.js +106 -0
- package/locales/ne.d.ts +8 -0
- package/locales/ne.js +106 -0
- package/locales/nl-be.d.ts +11 -0
- package/locales/nl-be.js +18 -0
- package/locales/nl.d.ts +8 -0
- package/locales/nl.js +3 -0
- package/locales/nn.d.ts +8 -0
- package/locales/nn.js +106 -0
- package/locales/oc-lnc.d.ts +8 -0
- package/locales/oc-lnc.js +126 -0
- package/locales/pa-in.d.ts +8 -0
- package/locales/pa-in.js +123 -0
- package/locales/pl.d.ts +8 -0
- package/locales/pl.js +159 -0
- package/locales/pt-br.d.ts +11 -0
- package/locales/pt-br.js +53 -0
- package/locales/pt.d.ts +8 -0
- package/locales/pt.js +3 -0
- package/locales/rn.d.ts +8 -0
- package/locales/rn.js +106 -0
- package/locales/ro.d.ts +8 -0
- package/locales/ro.js +106 -0
- package/locales/ru.d.ts +15 -0
- package/locales/ru.js +236 -0
- package/locales/rw.d.ts +8 -0
- package/locales/rw.js +106 -0
- package/locales/sd.d.ts +8 -0
- package/locales/sd.js +106 -0
- package/locales/se.d.ts +8 -0
- package/locales/se.js +106 -0
- package/locales/si.d.ts +8 -0
- package/locales/si.js +106 -0
- package/locales/sk.d.ts +8 -0
- package/locales/sk.js +162 -0
- package/locales/sl.d.ts +8 -0
- package/locales/sl.js +171 -0
- package/locales/sq.d.ts +8 -0
- package/locales/sq.js +106 -0
- package/locales/sr-cyrl.d.ts +11 -0
- package/locales/sr-cyrl.js +173 -0
- package/locales/sr.d.ts +8 -0
- package/locales/sr.js +3 -0
- package/locales/ss.d.ts +8 -0
- package/locales/ss.js +108 -0
- package/locales/sv-fi.d.ts +11 -0
- package/locales/sv-fi.js +27 -0
- package/locales/sv.d.ts +8 -0
- package/locales/sv.js +3 -0
- package/locales/sw.d.ts +8 -0
- package/locales/sw.js +106 -0
- package/locales/ta.d.ts +8 -0
- package/locales/ta.js +137 -0
- package/locales/te.d.ts +8 -0
- package/locales/te.js +109 -0
- package/locales/tet.d.ts +8 -0
- package/locales/tet.js +110 -0
- package/locales/tg.d.ts +8 -0
- package/locales/tg.js +128 -0
- package/locales/th.d.ts +8 -0
- package/locales/th.js +106 -0
- package/locales/tk.d.ts +8 -0
- package/locales/tk.js +134 -0
- package/locales/tl-ph.d.ts +8 -0
- package/locales/tl-ph.js +106 -0
- package/locales/tlh.d.ts +8 -0
- package/locales/tlh.js +152 -0
- package/locales/tr.d.ts +8 -0
- package/locales/tr.js +134 -0
- package/locales/tzl.d.ts +8 -0
- package/locales/tzl.js +123 -0
- package/locales/tzm-latn.d.ts +11 -0
- package/locales/tzm-latn.js +68 -0
- package/locales/tzm.d.ts +8 -0
- package/locales/tzm.js +3 -0
- package/locales/ug-cn.d.ts +8 -0
- package/locales/ug-cn.js +111 -0
- package/locales/uk.d.ts +8 -0
- package/locales/uk.js +194 -0
- package/locales/ur.d.ts +8 -0
- package/locales/ur.js +108 -0
- package/locales/uz-latn.d.ts +11 -0
- package/locales/uz-latn.js +68 -0
- package/locales/uz.d.ts +8 -0
- package/locales/uz.js +3 -0
- package/locales/vi.d.ts +8 -0
- package/locales/vi.js +106 -0
- package/locales/x-pseudo.d.ts +8 -0
- package/locales/x-pseudo.js +110 -0
- package/locales/yo.d.ts +8 -0
- package/locales/yo.js +106 -0
- package/locales/zh-cn.d.ts +11 -0
- package/locales/zh-cn.js +14 -0
- package/locales/zh-hk.d.ts +11 -0
- package/locales/zh-hk.js +23 -0
- package/locales/zh-mo.d.ts +11 -0
- package/locales/zh-mo.js +23 -0
- package/locales/zh-tw.d.ts +11 -0
- package/locales/zh-tw.js +23 -0
- package/locales/zh.d.ts +13 -4
- package/locales/zh.js +2 -63
- package/package.json +51 -25
- package/plugins/advancedFormat/index.d.ts +8 -0
- package/plugins/advancedFormat/index.js +20 -0
- package/plugins/advancedParse/index.d.ts +8 -0
- package/plugins/advancedParse/index.js +406 -0
- package/plugins/calendar/index.d.ts +14 -0
- package/plugins/calendar/index.js +33 -0
- package/plugins/dayOfYear/index.d.ts +13 -0
- package/plugins/dayOfYear/index.js +12 -0
- package/plugins/isBetween/index.d.ts +23 -0
- package/plugins/isBetween/index.js +16 -0
- package/plugins/isLeapYear/index.d.ts +12 -0
- package/plugins/isLeapYear/index.js +11 -0
- package/plugins/isSameOrAfter/index.d.ts +12 -0
- package/plugins/isSameOrAfter/index.js +10 -0
- package/plugins/isSameOrBefore/index.d.ts +12 -0
- package/plugins/isSameOrBefore/index.js +10 -0
- package/plugins/isToday/index.d.ts +8 -6
- package/plugins/isToday/index.js +10 -6
- package/plugins/isTomorrow/index.d.ts +12 -0
- package/plugins/isTomorrow/index.js +14 -0
- package/plugins/isYesterday/index.d.ts +12 -0
- package/plugins/isYesterday/index.js +14 -0
- package/plugins/isoWeek/index.d.ts +21 -0
- package/plugins/isoWeek/index.js +240 -0
- package/plugins/locale/index.d.ts +4 -75
- package/plugins/locale/index.js +6 -69
- package/plugins/localeData/index.d.ts +8 -0
- package/plugins/localeData/index.js +148 -0
- package/plugins/localizedFormat/index.d.ts +8 -0
- package/plugins/localizedFormat/index.js +88 -0
- package/plugins/localizedParse/index.d.ts +8 -0
- package/plugins/localizedParse/index.js +199 -0
- package/plugins/minMax/index.d.ts +13 -0
- package/plugins/minMax/index.js +22 -0
- package/plugins/objectSupport/index.d.ts +8 -0
- package/plugins/objectSupport/index.js +104 -0
- package/plugins/pluralGetSet/index.d.ts +20 -0
- package/plugins/pluralGetSet/index.js +16 -0
- package/plugins/quarterOfYear/index.d.ts +16 -0
- package/plugins/quarterOfYear/index.js +58 -0
- package/plugins/relativeTime/index.d.ts +59 -0
- package/plugins/relativeTime/index.js +154 -0
- package/plugins/toArray/index.d.ts +12 -0
- package/plugins/toArray/index.js +18 -0
- package/plugins/toObject/index.d.ts +20 -0
- package/plugins/toObject/index.js +18 -0
- package/plugins/utc/index.d.ts +14 -17
- package/plugins/utc/index.js +191 -37
- package/plugins/week/index.d.ts +21 -0
- package/plugins/week/index.js +360 -0
- package/EsDay-KXQgnL1r.d.ts +0 -89
- package/chunk-MLKGABMK.js +0 -7
- package/chunk-NUV73YDM.js +0 -60
- package/chunk-SQBPUYUY.js +0 -140
- package/plugins/customParseFormat/index.d.ts +0 -5
- package/plugins/customParseFormat/index.js +0 -159
package/locales/tl-ph.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
//#region src/locales/tl-ph.ts
|
|
2
|
+
const localeTlPh = {
|
|
3
|
+
name: "tl-PH",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"Linggo",
|
|
6
|
+
"Lunes",
|
|
7
|
+
"Martes",
|
|
8
|
+
"Miyerkules",
|
|
9
|
+
"Huwebes",
|
|
10
|
+
"Biyernes",
|
|
11
|
+
"Sabado"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"Lin",
|
|
15
|
+
"Lun",
|
|
16
|
+
"Mar",
|
|
17
|
+
"Miy",
|
|
18
|
+
"Huw",
|
|
19
|
+
"Biy",
|
|
20
|
+
"Sab"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"Li",
|
|
24
|
+
"Lu",
|
|
25
|
+
"Ma",
|
|
26
|
+
"Mi",
|
|
27
|
+
"Hu",
|
|
28
|
+
"Bi",
|
|
29
|
+
"Sab"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"Enero",
|
|
33
|
+
"Pebrero",
|
|
34
|
+
"Marso",
|
|
35
|
+
"Abril",
|
|
36
|
+
"Mayo",
|
|
37
|
+
"Hunyo",
|
|
38
|
+
"Hulyo",
|
|
39
|
+
"Agosto",
|
|
40
|
+
"Setyembre",
|
|
41
|
+
"Oktubre",
|
|
42
|
+
"Nobyembre",
|
|
43
|
+
"Disyembre"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"Ene",
|
|
47
|
+
"Peb",
|
|
48
|
+
"Mar",
|
|
49
|
+
"Abr",
|
|
50
|
+
"May",
|
|
51
|
+
"Hun",
|
|
52
|
+
"Hul",
|
|
53
|
+
"Ago",
|
|
54
|
+
"Set",
|
|
55
|
+
"Okt",
|
|
56
|
+
"Nob",
|
|
57
|
+
"Dis"
|
|
58
|
+
],
|
|
59
|
+
ordinal: (n) => `${n}`,
|
|
60
|
+
weekStart: 1,
|
|
61
|
+
yearStart: 4,
|
|
62
|
+
formats: {
|
|
63
|
+
LT: "HH:mm",
|
|
64
|
+
LTS: "HH:mm:ss",
|
|
65
|
+
L: "MM/D/YYYY",
|
|
66
|
+
LL: "MMMM D, YYYY",
|
|
67
|
+
LLL: "MMMM D, YYYY HH:mm",
|
|
68
|
+
LLLL: "dddd, MMMM DD, YYYY HH:mm",
|
|
69
|
+
l: "MM/D/YYYY",
|
|
70
|
+
ll: "MMMM D, YYYY",
|
|
71
|
+
lll: "MMMM D, YYYY HH:mm",
|
|
72
|
+
llll: "dddd, MMMM DD, YYYY HH:mm"
|
|
73
|
+
},
|
|
74
|
+
calendar: {
|
|
75
|
+
sameDay: "LT [ngayong araw]",
|
|
76
|
+
nextDay: "[Bukas ng] LT",
|
|
77
|
+
nextWeek: "LT [sa susunod na] dddd",
|
|
78
|
+
lastDay: "LT [kahapon]",
|
|
79
|
+
lastWeek: "LT [noong nakaraang] dddd",
|
|
80
|
+
sameElse: "L"
|
|
81
|
+
},
|
|
82
|
+
relativeTime: {
|
|
83
|
+
future: "sa loob ng %s",
|
|
84
|
+
past: "%s ang nakalipas",
|
|
85
|
+
s: "ilang segundo",
|
|
86
|
+
ss: "%d segundo",
|
|
87
|
+
m: "isang minuto",
|
|
88
|
+
mm: "%d minuto",
|
|
89
|
+
h: "isang oras",
|
|
90
|
+
hh: "%d oras",
|
|
91
|
+
d: "isang araw",
|
|
92
|
+
dd: "%d araw",
|
|
93
|
+
M: "isang buwan",
|
|
94
|
+
MM: "%d buwan",
|
|
95
|
+
y: "isang taon",
|
|
96
|
+
yy: "%d taon"
|
|
97
|
+
},
|
|
98
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
99
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
100
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
var tl_ph_default = localeTlPh;
|
|
104
|
+
|
|
105
|
+
//#endregion
|
|
106
|
+
export { tl_ph_default as default };
|
package/locales/tlh.d.ts
ADDED
package/locales/tlh.js
ADDED
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
//#region src/locales/tlh.ts
|
|
2
|
+
const numbersNouns = [
|
|
3
|
+
"pagh",
|
|
4
|
+
"wa’",
|
|
5
|
+
"cha’",
|
|
6
|
+
"wej",
|
|
7
|
+
"loS",
|
|
8
|
+
"vagh",
|
|
9
|
+
"jav",
|
|
10
|
+
"Soch",
|
|
11
|
+
"chorgh",
|
|
12
|
+
"Hut"
|
|
13
|
+
];
|
|
14
|
+
function numberAsNoun(n) {
|
|
15
|
+
const hundred = Math.floor(n % 1e3 / 100);
|
|
16
|
+
const ten = Math.floor(n % 100 / 10);
|
|
17
|
+
const one = n % 10;
|
|
18
|
+
let noun = "";
|
|
19
|
+
if (hundred > 0) noun += `${numbersNouns[hundred]}vatlh`;
|
|
20
|
+
if (ten > 0) noun += `${noun !== "" ? " " : ""}${numbersNouns[ten]}maH`;
|
|
21
|
+
if (one > 0) noun += (noun !== "" ? " " : "") + numbersNouns[one];
|
|
22
|
+
return noun === "" ? "pagh" : noun;
|
|
23
|
+
}
|
|
24
|
+
function translateFuture(timeValue) {
|
|
25
|
+
const timeValueAsString = timeValue.toString();
|
|
26
|
+
let time = timeValueAsString;
|
|
27
|
+
time = timeValueAsString.includes("jaj") ? `${time.slice(0, -3)}leS` : timeValueAsString.includes("jar") ? `${time.slice(0, -3)}waQ` : timeValueAsString.includes("DIS") ? `${time.slice(0, -3)}nem` : `${time} pIq`;
|
|
28
|
+
return time;
|
|
29
|
+
}
|
|
30
|
+
function translatePast(timeValue) {
|
|
31
|
+
const timeValueAsString = timeValue.toString();
|
|
32
|
+
let time = timeValueAsString;
|
|
33
|
+
time = timeValueAsString.includes("jaj") ? `${time.slice(0, -3)}Hu’` : timeValueAsString.includes("jar") ? `${time.slice(0, -3)}wen` : timeValueAsString.includes("DIS") ? `${time.slice(0, -3)}ben` : `${timeValueAsString} ret`;
|
|
34
|
+
return time;
|
|
35
|
+
}
|
|
36
|
+
const relativeTimeFormatter = (timeValue, _withoutSuffix, token, _isFuture) => {
|
|
37
|
+
const numberNoun = numberAsNoun(+timeValue);
|
|
38
|
+
switch (token) {
|
|
39
|
+
case "ss": return `${numberNoun} lup`;
|
|
40
|
+
case "mm": return `${numberNoun} tup`;
|
|
41
|
+
case "hh": return `${numberNoun} rep`;
|
|
42
|
+
case "dd": return `${numberNoun} jaj`;
|
|
43
|
+
case "MM": return `${numberNoun} jar`;
|
|
44
|
+
case "yy": return `${numberNoun} DIS`;
|
|
45
|
+
default: return "";
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
const localeTlh = {
|
|
49
|
+
name: "tlh",
|
|
50
|
+
weekdays: [
|
|
51
|
+
"lojmItjaj",
|
|
52
|
+
"DaSjaj",
|
|
53
|
+
"povjaj",
|
|
54
|
+
"ghItlhjaj",
|
|
55
|
+
"loghjaj",
|
|
56
|
+
"buqjaj",
|
|
57
|
+
"ghInjaj"
|
|
58
|
+
],
|
|
59
|
+
weekdaysShort: [
|
|
60
|
+
"lojmItjaj",
|
|
61
|
+
"DaSjaj",
|
|
62
|
+
"povjaj",
|
|
63
|
+
"ghItlhjaj",
|
|
64
|
+
"loghjaj",
|
|
65
|
+
"buqjaj",
|
|
66
|
+
"ghInjaj"
|
|
67
|
+
],
|
|
68
|
+
weekdaysMin: [
|
|
69
|
+
"lojmItjaj",
|
|
70
|
+
"DaSjaj",
|
|
71
|
+
"povjaj",
|
|
72
|
+
"ghItlhjaj",
|
|
73
|
+
"loghjaj",
|
|
74
|
+
"buqjaj",
|
|
75
|
+
"ghInjaj"
|
|
76
|
+
],
|
|
77
|
+
months: [
|
|
78
|
+
"tera’ jar wa’",
|
|
79
|
+
"tera’ jar cha’",
|
|
80
|
+
"tera’ jar wej",
|
|
81
|
+
"tera’ jar loS",
|
|
82
|
+
"tera’ jar vagh",
|
|
83
|
+
"tera’ jar jav",
|
|
84
|
+
"tera’ jar Soch",
|
|
85
|
+
"tera’ jar chorgh",
|
|
86
|
+
"tera’ jar Hut",
|
|
87
|
+
"tera’ jar wa’maH",
|
|
88
|
+
"tera’ jar wa’maH wa’",
|
|
89
|
+
"tera’ jar wa’maH cha’"
|
|
90
|
+
],
|
|
91
|
+
monthsShort: [
|
|
92
|
+
"jar wa’",
|
|
93
|
+
"jar cha’",
|
|
94
|
+
"jar wej",
|
|
95
|
+
"jar loS",
|
|
96
|
+
"jar vagh",
|
|
97
|
+
"jar jav",
|
|
98
|
+
"jar Soch",
|
|
99
|
+
"jar chorgh",
|
|
100
|
+
"jar Hut",
|
|
101
|
+
"jar wa’maH",
|
|
102
|
+
"jar wa’maH wa’",
|
|
103
|
+
"jar wa’maH cha’"
|
|
104
|
+
],
|
|
105
|
+
ordinal: (n) => `${n}`,
|
|
106
|
+
weekStart: 1,
|
|
107
|
+
yearStart: 4,
|
|
108
|
+
formats: {
|
|
109
|
+
LT: "HH:mm",
|
|
110
|
+
LTS: "HH:mm:ss",
|
|
111
|
+
L: "DD.MM.YYYY",
|
|
112
|
+
LL: "D MMMM YYYY",
|
|
113
|
+
LLL: "D MMMM YYYY HH:mm",
|
|
114
|
+
LLLL: "dddd, D MMMM YYYY HH:mm",
|
|
115
|
+
l: "DD.MM.YYYY",
|
|
116
|
+
ll: "D MMMM YYYY",
|
|
117
|
+
lll: "D MMMM YYYY HH:mm",
|
|
118
|
+
llll: "dddd, D MMMM YYYY HH:mm"
|
|
119
|
+
},
|
|
120
|
+
calendar: {
|
|
121
|
+
sameDay: "[DaHjaj] LT",
|
|
122
|
+
nextDay: "[wa’leS] LT",
|
|
123
|
+
nextWeek: "LLL",
|
|
124
|
+
lastDay: "[wa’Hu’] LT",
|
|
125
|
+
lastWeek: "LLL",
|
|
126
|
+
sameElse: "L"
|
|
127
|
+
},
|
|
128
|
+
relativeTime: {
|
|
129
|
+
future: translateFuture,
|
|
130
|
+
past: translatePast,
|
|
131
|
+
s: "puS lup",
|
|
132
|
+
ss: relativeTimeFormatter,
|
|
133
|
+
m: "wa’ tup",
|
|
134
|
+
mm: relativeTimeFormatter,
|
|
135
|
+
h: "wa’ rep",
|
|
136
|
+
hh: relativeTimeFormatter,
|
|
137
|
+
d: "wa’ jaj",
|
|
138
|
+
dd: relativeTimeFormatter,
|
|
139
|
+
M: "wa’ jar",
|
|
140
|
+
MM: relativeTimeFormatter,
|
|
141
|
+
y: "wa’ DIS",
|
|
142
|
+
yy: relativeTimeFormatter
|
|
143
|
+
},
|
|
144
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
145
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
146
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
147
|
+
}
|
|
148
|
+
};
|
|
149
|
+
var tlh_default = localeTlh;
|
|
150
|
+
|
|
151
|
+
//#endregion
|
|
152
|
+
export { tlh_default as default };
|
package/locales/tr.d.ts
ADDED
package/locales/tr.js
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
//#region src/locales/tr.ts
|
|
2
|
+
const suffixes = {
|
|
3
|
+
1: "'inci",
|
|
4
|
+
5: "'inci",
|
|
5
|
+
8: "'inci",
|
|
6
|
+
70: "'inci",
|
|
7
|
+
80: "'inci",
|
|
8
|
+
2: "'nci",
|
|
9
|
+
7: "'nci",
|
|
10
|
+
20: "'nci",
|
|
11
|
+
50: "'nci",
|
|
12
|
+
3: "'üncü",
|
|
13
|
+
4: "'üncü",
|
|
14
|
+
100: "'üncü",
|
|
15
|
+
6: "'ncı",
|
|
16
|
+
40: "'ncı",
|
|
17
|
+
9: "'uncu",
|
|
18
|
+
10: "'uncu",
|
|
19
|
+
30: "'uncu",
|
|
20
|
+
60: "'ıncı",
|
|
21
|
+
90: "'ıncı"
|
|
22
|
+
};
|
|
23
|
+
const localeTr = {
|
|
24
|
+
name: "tr",
|
|
25
|
+
weekdays: [
|
|
26
|
+
"Pazar",
|
|
27
|
+
"Pazartesi",
|
|
28
|
+
"Salı",
|
|
29
|
+
"Çarşamba",
|
|
30
|
+
"Perşembe",
|
|
31
|
+
"Cuma",
|
|
32
|
+
"Cumartesi"
|
|
33
|
+
],
|
|
34
|
+
weekdaysShort: [
|
|
35
|
+
"Paz",
|
|
36
|
+
"Pts",
|
|
37
|
+
"Sal",
|
|
38
|
+
"Çar",
|
|
39
|
+
"Per",
|
|
40
|
+
"Cum",
|
|
41
|
+
"Cts"
|
|
42
|
+
],
|
|
43
|
+
weekdaysMin: [
|
|
44
|
+
"Pz",
|
|
45
|
+
"Pt",
|
|
46
|
+
"Sa",
|
|
47
|
+
"Ça",
|
|
48
|
+
"Pe",
|
|
49
|
+
"Cu",
|
|
50
|
+
"Ct"
|
|
51
|
+
],
|
|
52
|
+
months: [
|
|
53
|
+
"Ocak",
|
|
54
|
+
"Şubat",
|
|
55
|
+
"Mart",
|
|
56
|
+
"Nisan",
|
|
57
|
+
"Mayıs",
|
|
58
|
+
"Haziran",
|
|
59
|
+
"Temmuz",
|
|
60
|
+
"Ağustos",
|
|
61
|
+
"Eylül",
|
|
62
|
+
"Ekim",
|
|
63
|
+
"Kasım",
|
|
64
|
+
"Aralık"
|
|
65
|
+
],
|
|
66
|
+
monthsShort: [
|
|
67
|
+
"Oca",
|
|
68
|
+
"Şub",
|
|
69
|
+
"Mar",
|
|
70
|
+
"Nis",
|
|
71
|
+
"May",
|
|
72
|
+
"Haz",
|
|
73
|
+
"Tem",
|
|
74
|
+
"Ağu",
|
|
75
|
+
"Eyl",
|
|
76
|
+
"Eki",
|
|
77
|
+
"Kas",
|
|
78
|
+
"Ara"
|
|
79
|
+
],
|
|
80
|
+
ordinal: (n) => {
|
|
81
|
+
if (n === 0) return `${n}'ıncı`;
|
|
82
|
+
const one = n % 10;
|
|
83
|
+
const ten = n % 100 - one;
|
|
84
|
+
const cutoffNumber = n >= 100 ? 100 : null;
|
|
85
|
+
const suffix = suffixes[one] || suffixes[ten] || suffixes[cutoffNumber];
|
|
86
|
+
return `${n}${suffix}`;
|
|
87
|
+
},
|
|
88
|
+
weekStart: 1,
|
|
89
|
+
yearStart: 1,
|
|
90
|
+
formats: {
|
|
91
|
+
LT: "HH:mm",
|
|
92
|
+
LTS: "HH:mm:ss",
|
|
93
|
+
L: "DD.MM.YYYY",
|
|
94
|
+
LL: "D MMMM YYYY",
|
|
95
|
+
LLL: "D MMMM YYYY HH:mm",
|
|
96
|
+
LLLL: "dddd, D MMMM YYYY HH:mm",
|
|
97
|
+
l: "DD.MM.YYYY",
|
|
98
|
+
ll: "D MMMM YYYY",
|
|
99
|
+
lll: "D MMMM YYYY HH:mm",
|
|
100
|
+
llll: "dddd, D MMMM YYYY HH:mm"
|
|
101
|
+
},
|
|
102
|
+
calendar: {
|
|
103
|
+
sameDay: "[bugün saat] LT",
|
|
104
|
+
nextDay: "[yarın saat] LT",
|
|
105
|
+
nextWeek: "[gelecek] dddd [saat] LT",
|
|
106
|
+
lastDay: "[dün] LT",
|
|
107
|
+
lastWeek: "[geçen] dddd [saat] LT",
|
|
108
|
+
sameElse: "L"
|
|
109
|
+
},
|
|
110
|
+
relativeTime: {
|
|
111
|
+
future: "%s sonra",
|
|
112
|
+
past: "%s önce",
|
|
113
|
+
s: "birkaç saniye",
|
|
114
|
+
ss: "%d saniye",
|
|
115
|
+
m: "bir dakika",
|
|
116
|
+
mm: "%d dakika",
|
|
117
|
+
h: "bir saat",
|
|
118
|
+
hh: "%d saat",
|
|
119
|
+
d: "bir gün",
|
|
120
|
+
dd: "%d gün",
|
|
121
|
+
M: "bir ay",
|
|
122
|
+
MM: "%d ay",
|
|
123
|
+
y: "bir yıl",
|
|
124
|
+
yy: "%d yıl"
|
|
125
|
+
},
|
|
126
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
127
|
+
if (hour < 12) return isLowercase ? "öö" : "ÖÖ";
|
|
128
|
+
return isLowercase ? "ös" : "ÖS";
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
var tr_default = localeTr;
|
|
132
|
+
|
|
133
|
+
//#endregion
|
|
134
|
+
export { tr_default as default };
|
package/locales/tzl.d.ts
ADDED
package/locales/tzl.js
ADDED
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
//#region src/locales/tzl.ts
|
|
2
|
+
const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
3
|
+
const format = {
|
|
4
|
+
s: ["viensas secunds", "'iensas secunds"],
|
|
5
|
+
ss: [`${timeValue} secunds`, `${timeValue} secunds`],
|
|
6
|
+
m: ["'n míut", "'iens míut"],
|
|
7
|
+
mm: [`${timeValue} míuts`, `${timeValue} míuts`],
|
|
8
|
+
h: ["'n þora", "'iensa þora"],
|
|
9
|
+
hh: [`${timeValue} þoras`, `${timeValue} þoras`],
|
|
10
|
+
d: ["'n ziua", "'iensa ziua"],
|
|
11
|
+
dd: [`${timeValue} ziuas`, `${timeValue} ziuas`],
|
|
12
|
+
M: ["'n mes", "'iens mes"],
|
|
13
|
+
MM: [`${timeValue} mesen`, `${timeValue} mesen`],
|
|
14
|
+
y: ["'n ar", "'iens ar"],
|
|
15
|
+
yy: [`${timeValue} ars`, `${timeValue} ars`]
|
|
16
|
+
};
|
|
17
|
+
return isFuture ? format[token][0] : withoutSuffix ? format[token][0] : format[token][1];
|
|
18
|
+
};
|
|
19
|
+
const localeTzl = {
|
|
20
|
+
name: "tzl",
|
|
21
|
+
weekdays: [
|
|
22
|
+
"Súladi",
|
|
23
|
+
"Lúneçi",
|
|
24
|
+
"Maitzi",
|
|
25
|
+
"Márcuri",
|
|
26
|
+
"Xhúadi",
|
|
27
|
+
"Viénerçi",
|
|
28
|
+
"Sáturi"
|
|
29
|
+
],
|
|
30
|
+
weekdaysShort: [
|
|
31
|
+
"Súl",
|
|
32
|
+
"Lún",
|
|
33
|
+
"Mai",
|
|
34
|
+
"Már",
|
|
35
|
+
"Xhú",
|
|
36
|
+
"Vié",
|
|
37
|
+
"Sát"
|
|
38
|
+
],
|
|
39
|
+
weekdaysMin: [
|
|
40
|
+
"Sú",
|
|
41
|
+
"Lú",
|
|
42
|
+
"Ma",
|
|
43
|
+
"Má",
|
|
44
|
+
"Xh",
|
|
45
|
+
"Vi",
|
|
46
|
+
"Sá"
|
|
47
|
+
],
|
|
48
|
+
months: [
|
|
49
|
+
"Januar",
|
|
50
|
+
"Fevraglh",
|
|
51
|
+
"Març",
|
|
52
|
+
"Avrïu",
|
|
53
|
+
"Mai",
|
|
54
|
+
"Gün",
|
|
55
|
+
"Julia",
|
|
56
|
+
"Guscht",
|
|
57
|
+
"Setemvar",
|
|
58
|
+
"Listopäts",
|
|
59
|
+
"Noemvar",
|
|
60
|
+
"Zecemvar"
|
|
61
|
+
],
|
|
62
|
+
monthsShort: [
|
|
63
|
+
"Jan",
|
|
64
|
+
"Fev",
|
|
65
|
+
"Mar",
|
|
66
|
+
"Avr",
|
|
67
|
+
"Mai",
|
|
68
|
+
"Gün",
|
|
69
|
+
"Jul",
|
|
70
|
+
"Gus",
|
|
71
|
+
"Set",
|
|
72
|
+
"Lis",
|
|
73
|
+
"Noe",
|
|
74
|
+
"Zec"
|
|
75
|
+
],
|
|
76
|
+
ordinal: (n) => `${n}.`,
|
|
77
|
+
weekStart: 1,
|
|
78
|
+
yearStart: 4,
|
|
79
|
+
formats: {
|
|
80
|
+
LT: "HH.mm",
|
|
81
|
+
LTS: "HH.mm.ss",
|
|
82
|
+
L: "DD.MM.YYYY",
|
|
83
|
+
LL: "D. MMMM [dallas] YYYY",
|
|
84
|
+
LLL: "D. MMMM [dallas] YYYY HH.mm",
|
|
85
|
+
LLLL: "dddd, [li] D. MMMM [dallas] YYYY HH.mm",
|
|
86
|
+
l: "DD.MM.YYYY",
|
|
87
|
+
ll: "D. MMMM [dallas] YYYY",
|
|
88
|
+
lll: "D. MMMM [dallas] YYYY HH.mm",
|
|
89
|
+
llll: "dddd, [li] D. MMMM [dallas] YYYY HH.mm"
|
|
90
|
+
},
|
|
91
|
+
calendar: {
|
|
92
|
+
sameDay: "[oxhi à] LT",
|
|
93
|
+
nextDay: "[demà à] LT",
|
|
94
|
+
nextWeek: "dddd [à] LT",
|
|
95
|
+
lastDay: "[ieiri à] LT",
|
|
96
|
+
lastWeek: "[sür el] dddd [lasteu à] LT",
|
|
97
|
+
sameElse: "L"
|
|
98
|
+
},
|
|
99
|
+
relativeTime: {
|
|
100
|
+
future: "osprei %s",
|
|
101
|
+
past: "ja%s",
|
|
102
|
+
s: relativeTimeFormatter,
|
|
103
|
+
ss: relativeTimeFormatter,
|
|
104
|
+
m: relativeTimeFormatter,
|
|
105
|
+
mm: relativeTimeFormatter,
|
|
106
|
+
h: relativeTimeFormatter,
|
|
107
|
+
hh: relativeTimeFormatter,
|
|
108
|
+
d: relativeTimeFormatter,
|
|
109
|
+
dd: relativeTimeFormatter,
|
|
110
|
+
M: relativeTimeFormatter,
|
|
111
|
+
MM: relativeTimeFormatter,
|
|
112
|
+
y: relativeTimeFormatter,
|
|
113
|
+
yy: relativeTimeFormatter
|
|
114
|
+
},
|
|
115
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
116
|
+
if (hour > 11) return isLowercase ? "d'o" : "D'O";
|
|
117
|
+
return isLowercase ? "d'a" : "D'A";
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
var tzl_default = localeTzl;
|
|
121
|
+
|
|
122
|
+
//#endregion
|
|
123
|
+
export { tzl_default as default };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "../chunks/DqhiVwLi.js";
|
|
2
|
+
import "../chunks/MtjcOKi-.js";
|
|
3
|
+
import { Locale } from "../chunks/St35qgL0.js";
|
|
4
|
+
|
|
5
|
+
//#region src/locales/tzm-latn.d.ts
|
|
6
|
+
/**
|
|
7
|
+
* Central Atlas Tamazight Latin [tzm-LATN]
|
|
8
|
+
*/
|
|
9
|
+
declare const localeTzmLatn: Locale;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { localeTzmLatn as default };
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import "../chunks/Y32qdU_5.js";
|
|
2
|
+
import "../chunks/Cb5SvF6r.js";
|
|
3
|
+
import "../chunks/DjY7KvwG.js";
|
|
4
|
+
import "../chunks/tfkJ5D3p.js";
|
|
5
|
+
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
+
import { tzm_default } from "../chunks/l2Rxo2H0.js";
|
|
7
|
+
|
|
8
|
+
//#region src/locales/tzm-latn.ts
|
|
9
|
+
const calendar = {
|
|
10
|
+
sameDay: "[asdkh g] LT",
|
|
11
|
+
nextDay: "[aska g] LT",
|
|
12
|
+
nextWeek: "dddd [g] LT",
|
|
13
|
+
lastDay: "[assant g] LT",
|
|
14
|
+
lastWeek: "dddd [g] LT",
|
|
15
|
+
sameElse: "L"
|
|
16
|
+
};
|
|
17
|
+
const localeTzmLatn = cloneLocale(tzm_default);
|
|
18
|
+
const weekdays = [
|
|
19
|
+
"asamas",
|
|
20
|
+
"aynas",
|
|
21
|
+
"asinas",
|
|
22
|
+
"akras",
|
|
23
|
+
"akwas",
|
|
24
|
+
"asimwas",
|
|
25
|
+
"asiḍyas"
|
|
26
|
+
];
|
|
27
|
+
const months = [
|
|
28
|
+
"innayr",
|
|
29
|
+
"brˤayrˤ",
|
|
30
|
+
"marˤsˤ",
|
|
31
|
+
"ibrir",
|
|
32
|
+
"mayyw",
|
|
33
|
+
"ywnyw",
|
|
34
|
+
"ywlywz",
|
|
35
|
+
"ɣwšt",
|
|
36
|
+
"šwtanbir",
|
|
37
|
+
"ktˤwbrˤ",
|
|
38
|
+
"nwwanbir",
|
|
39
|
+
"dwjnbir"
|
|
40
|
+
];
|
|
41
|
+
const relativeTime = {
|
|
42
|
+
future: "dadkh s yan %s",
|
|
43
|
+
past: "yan %s",
|
|
44
|
+
s: "imik",
|
|
45
|
+
ss: "%d imik",
|
|
46
|
+
m: "minuḍ",
|
|
47
|
+
mm: "%d minuḍ",
|
|
48
|
+
h: "saɛa",
|
|
49
|
+
hh: "%d tassaɛin",
|
|
50
|
+
d: "ass",
|
|
51
|
+
dd: "%d ossan",
|
|
52
|
+
M: "ayowr",
|
|
53
|
+
MM: "%d iyyirn",
|
|
54
|
+
y: "asgas",
|
|
55
|
+
yy: "%d isgasn"
|
|
56
|
+
};
|
|
57
|
+
setLocaleProperty(localeTzmLatn, "name", "tzm-LATN");
|
|
58
|
+
setLocaleProperty(localeTzmLatn, "weekdays", weekdays);
|
|
59
|
+
setLocaleProperty(localeTzmLatn, "weekdaysShort", weekdays);
|
|
60
|
+
setLocaleProperty(localeTzmLatn, "weekdaysMin", weekdays);
|
|
61
|
+
setLocaleProperty(localeTzmLatn, "months", months);
|
|
62
|
+
setLocaleProperty(localeTzmLatn, "monthsShort", months);
|
|
63
|
+
setLocaleProperty(localeTzmLatn, "calendar", calendar);
|
|
64
|
+
setLocaleProperty(localeTzmLatn, "relativeTime", relativeTime);
|
|
65
|
+
var tzm_latn_default = localeTzmLatn;
|
|
66
|
+
|
|
67
|
+
//#endregion
|
|
68
|
+
export { tzm_latn_default as default };
|
package/locales/tzm.d.ts
ADDED
package/locales/tzm.js
ADDED