esday 0.4.1 → 0.6.2
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 +43 -0
- package/LICENSE +21 -0
- package/README.md +63 -33
- package/chunks/AyQQ6US-.js +84 -0
- package/chunks/BkjWOpMU.js +68 -0
- package/chunks/C5qDMHT5.d.ts +6 -0
- package/chunks/CODi8AFH.d.ts +231 -0
- package/chunks/CXWzCl3n.js +481 -0
- package/chunks/CdvTtmWL.js +56 -0
- package/chunks/Shk32pTP.js +9 -0
- package/chunks/v_QBn7Xm.js +25 -0
- package/chunks/xt8C2lbv.js +38 -0
- package/index.d.mts +3 -0
- package/index.mjs +3 -0
- package/locales/af.d.mts +6 -0
- package/locales/af.mjs +108 -0
- package/locales/am.d.mts +6 -0
- package/locales/am.mjs +108 -0
- package/locales/ar-dz.d.mts +9 -0
- package/locales/ar-dz.mjs +30 -0
- package/locales/ar-iq.d.mts +9 -0
- package/locales/ar-iq.mjs +12 -0
- package/locales/ar-kw.d.mts +9 -0
- package/locales/ar-kw.mjs +26 -0
- package/locales/ar-ly.d.mts +9 -0
- package/locales/ar-ly.mjs +12 -0
- package/locales/ar-ma.d.mts +9 -0
- package/locales/ar-ma.mjs +27 -0
- package/locales/ar-sa.d.mts +9 -0
- package/locales/ar-sa.mjs +27 -0
- package/locales/ar-tn.d.mts +9 -0
- package/locales/ar-tn.mjs +27 -0
- package/locales/ar.d.mts +6 -0
- package/locales/ar.mjs +198 -0
- package/locales/az.d.mts +6 -0
- package/locales/az.mjs +108 -0
- package/locales/be.d.mts +6 -0
- package/locales/be.mjs +136 -0
- package/locales/bg.d.mts +6 -0
- package/locales/bg.mjs +127 -0
- package/locales/bi.d.mts +6 -0
- package/locales/bi.mjs +108 -0
- package/locales/bm.d.mts +6 -0
- package/locales/bm.mjs +108 -0
- package/locales/bn-bd.d.mts +9 -0
- package/locales/bn-bd.mjs +22 -0
- package/locales/bn.d.mts +6 -0
- package/locales/bn.mjs +137 -0
- package/locales/bo.d.mts +6 -0
- package/locales/bo.mjs +108 -0
- package/locales/br.d.mts +6 -0
- package/locales/br.mjs +180 -0
- package/locales/bs.d.mts +6 -0
- package/locales/bs.mjs +130 -0
- package/locales/ca.d.mts +6 -0
- package/locales/ca.mjs +142 -0
- package/locales/cs.d.mts +6 -0
- package/locales/cs.mjs +186 -0
- package/locales/cv.d.mts +6 -0
- package/locales/cv.mjs +108 -0
- package/locales/cy.d.mts +6 -0
- package/locales/cy.mjs +108 -0
- package/locales/da.d.mts +6 -0
- package/locales/da.mjs +108 -0
- package/locales/de-at.d.mts +9 -0
- package/locales/de-at.mjs +42 -0
- package/locales/de-ch.d.mts +9 -0
- package/locales/de-ch.mjs +12 -0
- package/locales/de.d.mts +6 -0
- package/locales/de.mjs +131 -0
- package/locales/dv.d.mts +6 -0
- package/locales/dv.mjs +108 -0
- package/locales/el.d.mts +6 -0
- package/locales/el.mjs +117 -0
- package/locales/en-au.d.mts +9 -0
- package/locales/en-au.mjs +26 -0
- package/locales/en-ca.d.mts +9 -0
- package/locales/en-ca.mjs +26 -0
- package/locales/en-gb.d.mts +11 -0
- package/locales/en-gb.mjs +29 -0
- package/locales/en-ie.d.mts +9 -0
- package/locales/en-ie.mjs +25 -0
- package/locales/en-il.d.mts +9 -0
- package/locales/en-il.mjs +27 -0
- package/locales/en-in.d.mts +9 -0
- package/locales/en-in.mjs +25 -0
- package/locales/en-nz.d.mts +9 -0
- package/locales/en-nz.mjs +27 -0
- package/locales/en-sg.d.mts +9 -0
- package/locales/en-sg.mjs +27 -0
- package/locales/en-tt.d.mts +9 -0
- package/locales/en-tt.mjs +27 -0
- package/locales/en-us.d.mts +9 -0
- package/locales/en-us.mjs +12 -0
- package/locales/en.d.mts +6 -0
- package/locales/en.mjs +117 -0
- package/locales/eo.d.mts +6 -0
- package/locales/eo.mjs +108 -0
- package/locales/es-do.d.mts +9 -0
- package/locales/es-do.mjs +25 -0
- package/locales/es-mx.d.mts +9 -0
- package/locales/es-mx.mjs +13 -0
- package/locales/es-pr.d.mts +9 -0
- package/locales/es-pr.mjs +16 -0
- package/locales/es-us.d.mts +9 -0
- package/locales/es-us.mjs +12 -0
- package/locales/es.d.mts +6 -0
- package/locales/es.mjs +118 -0
- package/locales/et.d.mts +6 -0
- package/locales/et.mjs +146 -0
- package/locales/eu.d.mts +6 -0
- package/locales/eu.mjs +108 -0
- package/locales/fa.d.mts +6 -0
- package/locales/fa.mjs +108 -0
- package/locales/fi.d.mts +6 -0
- package/locales/fi.mjs +171 -0
- package/locales/fil.d.mts +6 -0
- package/locales/fil.mjs +108 -0
- package/locales/fo.d.mts +6 -0
- package/locales/fo.mjs +108 -0
- package/locales/fr-ca.d.mts +9 -0
- package/locales/fr-ca.mjs +16 -0
- package/locales/fr-ch.d.mts +9 -0
- package/locales/fr-ch.mjs +16 -0
- package/locales/fr.d.mts +6 -0
- package/locales/fr.mjs +110 -0
- package/locales/fy.d.mts +6 -0
- package/locales/fy.mjs +108 -0
- package/locales/ga.d.mts +6 -0
- package/locales/ga.mjs +108 -0
- package/locales/gd.d.mts +6 -0
- package/locales/gd.mjs +108 -0
- package/locales/gl.d.mts +6 -0
- package/locales/gl.mjs +118 -0
- package/locales/gom-deva.d.mts +6 -0
- package/locales/gom-deva.mjs +148 -0
- package/locales/gom-latn.d.mts +6 -0
- package/locales/gom-latn.mjs +148 -0
- package/locales/gu.d.mts +6 -0
- package/locales/gu.mjs +108 -0
- package/locales/he.d.mts +6 -0
- package/locales/he.mjs +132 -0
- package/locales/hi.d.mts +6 -0
- package/locales/hi.mjs +124 -0
- package/locales/hr.d.mts +6 -0
- package/locales/hr.mjs +195 -0
- package/locales/ht.d.mts +6 -0
- package/locales/ht.mjs +108 -0
- package/locales/hu.d.mts +6 -0
- package/locales/hu.mjs +144 -0
- package/locales/hy-am.d.mts +6 -0
- package/locales/hy-am.mjs +126 -0
- package/locales/id.d.mts +6 -0
- package/locales/id.mjs +108 -0
- package/locales/is.d.mts +6 -0
- package/locales/is.mjs +167 -0
- package/locales/it-ch.d.mts +9 -0
- package/locales/it-ch.mjs +27 -0
- package/locales/it.d.mts +6 -0
- package/locales/it.mjs +121 -0
- package/locales/ja.d.mts +12 -0
- package/locales/ja.mjs +111 -0
- package/locales/jv.d.mts +6 -0
- package/locales/jv.mjs +108 -0
- package/locales/ka.d.mts +6 -0
- package/locales/ka.mjs +125 -0
- package/locales/kk.d.mts +6 -0
- package/locales/kk.mjs +108 -0
- package/locales/km.d.mts +6 -0
- package/locales/km.mjs +108 -0
- package/locales/kn.d.mts +6 -0
- package/locales/kn.mjs +108 -0
- package/locales/ko.d.mts +6 -0
- package/locales/ko.mjs +107 -0
- package/locales/ku.d.mts +6 -0
- package/locales/ku.mjs +121 -0
- package/locales/ky.d.mts +6 -0
- package/locales/ky.mjs +108 -0
- package/locales/lb.d.mts +6 -0
- package/locales/lb.mjs +169 -0
- package/locales/lo.d.mts +6 -0
- package/locales/lo.mjs +107 -0
- package/locales/lt.d.mts +6 -0
- package/locales/lt.mjs +108 -0
- package/locales/lv.d.mts +6 -0
- package/locales/lv.mjs +108 -0
- package/locales/me.d.mts +6 -0
- package/locales/me.mjs +129 -0
- package/locales/mi.d.mts +6 -0
- package/locales/mi.mjs +108 -0
- package/locales/mk.d.mts +6 -0
- package/locales/mk.mjs +119 -0
- package/locales/ml.d.mts +6 -0
- package/locales/ml.mjs +111 -0
- package/locales/mn.d.mts +6 -0
- package/locales/mn.mjs +127 -0
- package/locales/mr.d.mts +6 -0
- package/locales/mr.mjs +229 -0
- package/locales/ms-my.d.mts +9 -0
- package/locales/ms-my.mjs +12 -0
- package/locales/ms.d.mts +6 -0
- package/locales/ms.mjs +108 -0
- package/locales/mt.d.mts +6 -0
- package/locales/mt.mjs +108 -0
- package/locales/my.d.mts +6 -0
- package/locales/my.mjs +134 -0
- package/locales/nb.d.mts +6 -0
- package/locales/nb.mjs +108 -0
- package/locales/ne.d.mts +6 -0
- package/locales/ne.mjs +108 -0
- package/locales/nl-be.d.mts +9 -0
- package/locales/nl-be.mjs +16 -0
- package/locales/nl.d.mts +6 -0
- package/locales/nl.mjs +108 -0
- package/locales/nn.d.mts +6 -0
- package/locales/nn.mjs +108 -0
- package/locales/oc-lnc.d.mts +6 -0
- package/locales/oc-lnc.mjs +125 -0
- package/locales/pa-in.d.mts +6 -0
- package/locales/pa-in.mjs +125 -0
- package/locales/pl.d.mts +6 -0
- package/locales/pl.mjs +162 -0
- package/locales/pt-br.d.mts +9 -0
- package/locales/pt-br.mjs +51 -0
- package/locales/pt.d.mts +6 -0
- package/locales/pt.mjs +110 -0
- package/locales/rn.d.mts +6 -0
- package/locales/rn.mjs +108 -0
- package/locales/ro.d.mts +6 -0
- package/locales/ro.mjs +108 -0
- package/locales/ru.d.mts +12 -0
- package/locales/ru.mjs +237 -0
- package/locales/rw.d.mts +6 -0
- package/locales/rw.mjs +108 -0
- package/locales/sd.d.mts +6 -0
- package/locales/sd.mjs +108 -0
- package/locales/se.d.mts +6 -0
- package/locales/se.mjs +108 -0
- package/locales/si.d.mts +6 -0
- package/locales/si.mjs +108 -0
- package/locales/sk.d.mts +6 -0
- package/locales/sk.mjs +168 -0
- package/locales/sl.d.mts +6 -0
- package/locales/sl.mjs +177 -0
- package/locales/sq.d.mts +6 -0
- package/locales/sq.mjs +108 -0
- package/locales/sr-cyrl.d.mts +9 -0
- package/locales/sr-cyrl.mjs +174 -0
- package/locales/sr.d.mts +6 -0
- package/locales/sr.mjs +186 -0
- package/locales/ss.d.mts +6 -0
- package/locales/ss.mjs +110 -0
- package/locales/sv-fi.d.mts +9 -0
- package/locales/sv-fi.mjs +25 -0
- package/locales/sv.d.mts +6 -0
- package/locales/sv.mjs +111 -0
- package/locales/sw.d.mts +6 -0
- package/locales/sw.mjs +108 -0
- package/locales/ta.d.mts +6 -0
- package/locales/ta.mjs +139 -0
- package/locales/te.d.mts +6 -0
- package/locales/te.mjs +111 -0
- package/locales/tet.d.mts +6 -0
- package/locales/tet.mjs +111 -0
- package/locales/tg.d.mts +6 -0
- package/locales/tg.mjs +127 -0
- package/locales/th.d.mts +6 -0
- package/locales/th.mjs +108 -0
- package/locales/tk.d.mts +6 -0
- package/locales/tk.mjs +135 -0
- package/locales/tl-ph.d.mts +6 -0
- package/locales/tl-ph.mjs +108 -0
- package/locales/tlh.d.mts +6 -0
- package/locales/tlh.mjs +155 -0
- package/locales/tr.d.mts +6 -0
- package/locales/tr.mjs +135 -0
- package/locales/tzl.d.mts +6 -0
- package/locales/tzl.mjs +125 -0
- package/locales/tzm-latn.d.mts +9 -0
- package/locales/tzm-latn.mjs +68 -0
- package/locales/tzm.d.mts +6 -0
- package/locales/tzm.mjs +108 -0
- package/locales/ug-cn.d.mts +6 -0
- package/locales/ug-cn.mjs +113 -0
- package/locales/uk.d.mts +6 -0
- package/locales/uk.mjs +199 -0
- package/locales/ur.d.mts +6 -0
- package/locales/ur.mjs +110 -0
- package/locales/uz-latn.d.mts +9 -0
- package/locales/uz-latn.mjs +68 -0
- package/locales/uz.d.mts +6 -0
- package/locales/uz.mjs +108 -0
- package/locales/vi.d.mts +6 -0
- package/locales/vi.mjs +108 -0
- package/locales/x-pseudo.d.mts +6 -0
- package/locales/x-pseudo.mjs +111 -0
- package/locales/yo.d.mts +6 -0
- package/locales/yo.mjs +108 -0
- package/locales/zh-cn.d.mts +9 -0
- package/locales/zh-cn.mjs +12 -0
- package/locales/zh-hk.d.mts +9 -0
- package/locales/zh-hk.mjs +21 -0
- package/locales/zh-mo.d.mts +9 -0
- package/locales/zh-mo.mjs +21 -0
- package/locales/zh-tw.d.mts +9 -0
- package/locales/zh-tw.mjs +21 -0
- package/locales/zh.d.mts +12 -0
- package/locales/zh.mjs +129 -0
- package/package.json +61 -29
- package/plugins/advancedFormat/index.d.mts +6 -0
- package/plugins/advancedFormat/index.mjs +18 -0
- package/plugins/advancedParse/index.d.mts +6 -0
- package/plugins/advancedParse/index.mjs +407 -0
- package/plugins/calendar/index.d.mts +12 -0
- package/plugins/calendar/index.mjs +32 -0
- package/plugins/dayOfYear/index.d.mts +12 -0
- package/plugins/dayOfYear/index.mjs +11 -0
- package/plugins/duration/index.d.mts +78 -0
- package/plugins/duration/index.mjs +477 -0
- package/plugins/isBetween/index.d.mts +22 -0
- package/plugins/isBetween/index.mjs +15 -0
- package/plugins/isLeapYear/index.d.mts +11 -0
- package/plugins/isLeapYear/index.mjs +10 -0
- package/plugins/isSameOrAfter/index.d.mts +11 -0
- package/plugins/isSameOrAfter/index.mjs +9 -0
- package/plugins/isSameOrBefore/index.d.mts +11 -0
- package/plugins/isSameOrBefore/index.mjs +9 -0
- package/plugins/isToday/index.d.mts +11 -0
- package/plugins/isToday/index.mjs +11 -0
- package/plugins/isTomorrow/index.d.mts +11 -0
- package/plugins/isTomorrow/index.mjs +13 -0
- package/plugins/isYesterday/index.d.mts +11 -0
- package/plugins/isYesterday/index.mjs +13 -0
- package/plugins/isoWeek/index.d.mts +19 -0
- package/plugins/isoWeek/index.mjs +228 -0
- package/plugins/locale/index.d.mts +104 -0
- package/plugins/locale/index.mjs +141 -0
- package/plugins/localeData/index.d.mts +6 -0
- package/plugins/localeData/index.mjs +155 -0
- package/plugins/localizedFormat/index.d.mts +6 -0
- package/plugins/localizedFormat/index.mjs +83 -0
- package/plugins/localizedParse/index.d.mts +6 -0
- package/plugins/localizedParse/index.mjs +217 -0
- package/plugins/minMax/index.d.mts +12 -0
- package/plugins/minMax/index.mjs +21 -0
- package/plugins/objectSupport/index.d.mts +6 -0
- package/plugins/objectSupport/index.mjs +99 -0
- package/plugins/pluralGetSet/index.d.mts +18 -0
- package/plugins/pluralGetSet/index.mjs +15 -0
- package/plugins/quarterOfYear/index.d.mts +14 -0
- package/plugins/quarterOfYear/index.mjs +51 -0
- package/plugins/relativeTime/index.d.mts +47 -0
- package/plugins/relativeTime/index.mjs +187 -0
- package/plugins/timezone/index.d.mts +6 -0
- package/plugins/timezone/index.mjs +456 -0
- package/plugins/toArray/index.d.mts +11 -0
- package/plugins/toArray/index.mjs +17 -0
- package/plugins/toObject/index.d.mts +19 -0
- package/plugins/toObject/index.mjs +17 -0
- package/plugins/utc/index.d.mts +18 -0
- package/plugins/utc/index.mjs +192 -0
- package/plugins/week/index.d.mts +19 -0
- package/plugins/week/index.mjs +350 -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/index.d.ts +0 -6
- package/index.js +0 -310
- package/locales/en.d.ts +0 -6
- package/locales/en.js +0 -1
- package/locales/zh.d.ts +0 -6
- package/locales/zh.js +0 -64
- package/plugins/customParseFormat/index.d.ts +0 -5
- package/plugins/customParseFormat/index.js +0 -159
- package/plugins/isToday/index.d.ts +0 -10
- package/plugins/isToday/index.js +0 -8
- package/plugins/locale/index.d.ts +0 -75
- package/plugins/locale/index.js +0 -70
- package/plugins/utc/index.d.ts +0 -22
- package/plugins/utc/index.js +0 -40
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
//#region src/locales/hy-am.ts
|
|
2
|
+
const localeHyAm = {
|
|
3
|
+
name: "hy-AM",
|
|
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
|
+
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
|
+
},
|
|
61
|
+
monthsShort: [
|
|
62
|
+
"հնվ",
|
|
63
|
+
"փտր",
|
|
64
|
+
"մրտ",
|
|
65
|
+
"ապր",
|
|
66
|
+
"մյս",
|
|
67
|
+
"հնս",
|
|
68
|
+
"հլս",
|
|
69
|
+
"օգս",
|
|
70
|
+
"սպտ",
|
|
71
|
+
"հկտ",
|
|
72
|
+
"նմբ",
|
|
73
|
+
"դկտ"
|
|
74
|
+
],
|
|
75
|
+
dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
|
|
76
|
+
ordinal: (n) => `${n}`,
|
|
77
|
+
weekStart: 1,
|
|
78
|
+
yearStart: 1,
|
|
79
|
+
formats: {
|
|
80
|
+
LT: "HH:mm",
|
|
81
|
+
LTS: "HH:mm:ss",
|
|
82
|
+
L: "DD.MM.YYYY",
|
|
83
|
+
LL: "D MMMM YYYY թ.",
|
|
84
|
+
LLL: "D MMMM YYYY թ., HH:mm",
|
|
85
|
+
LLLL: "dddd, D MMMM YYYY թ., HH:mm",
|
|
86
|
+
l: "DD.MM.YYYY",
|
|
87
|
+
ll: "D MMMM YYYY թ.",
|
|
88
|
+
lll: "D MMMM YYYY թ., HH:mm",
|
|
89
|
+
llll: "dddd, D MMMM YYYY թ., HH:mm"
|
|
90
|
+
},
|
|
91
|
+
calendar: {
|
|
92
|
+
sameDay: "[այսօր] LT",
|
|
93
|
+
nextDay: "[վաղը] LT",
|
|
94
|
+
lastDay: "[երեկ] LT",
|
|
95
|
+
nextWeek: "dddd [օրը ժամը] LT",
|
|
96
|
+
lastWeek: "[անցած] dddd [օրը ժամը] LT",
|
|
97
|
+
sameElse: "L"
|
|
98
|
+
},
|
|
99
|
+
relativeTime: {
|
|
100
|
+
future: "%s հետո",
|
|
101
|
+
past: "%s առաջ",
|
|
102
|
+
s: "մի քանի վայրկյան",
|
|
103
|
+
ss: "%d վայրկյան",
|
|
104
|
+
m: "րոպե",
|
|
105
|
+
mm: "%d րոպե",
|
|
106
|
+
h: "ժամ",
|
|
107
|
+
hh: "%d ժամ",
|
|
108
|
+
d: "օր",
|
|
109
|
+
dd: "%d օր",
|
|
110
|
+
w: "շաբաթից",
|
|
111
|
+
ww: "%d շաբաթից",
|
|
112
|
+
M: "ամիս",
|
|
113
|
+
MM: "%d ամիս",
|
|
114
|
+
y: "տարի",
|
|
115
|
+
yy: "%d տարի"
|
|
116
|
+
},
|
|
117
|
+
meridiem: (hour, _minute, _isLowercase) => {
|
|
118
|
+
if (hour < 4) return "գիշերվա";
|
|
119
|
+
if (hour < 12) return "առավոտվա";
|
|
120
|
+
if (hour < 17) return "ցերեկվա";
|
|
121
|
+
return "երեկոյան";
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
|
|
125
|
+
//#endregion
|
|
126
|
+
export { localeHyAm as default };
|
package/locales/id.d.mts
ADDED
package/locales/id.mjs
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
//#region src/locales/id.ts
|
|
2
|
+
const localeId = {
|
|
3
|
+
name: "id",
|
|
4
|
+
weekdays: [
|
|
5
|
+
"Minggu",
|
|
6
|
+
"Senin",
|
|
7
|
+
"Selasa",
|
|
8
|
+
"Rabu",
|
|
9
|
+
"Kamis",
|
|
10
|
+
"Jumat",
|
|
11
|
+
"Sabtu"
|
|
12
|
+
],
|
|
13
|
+
weekdaysShort: [
|
|
14
|
+
"Min",
|
|
15
|
+
"Sen",
|
|
16
|
+
"Sel",
|
|
17
|
+
"Rab",
|
|
18
|
+
"Kam",
|
|
19
|
+
"Jum",
|
|
20
|
+
"Sab"
|
|
21
|
+
],
|
|
22
|
+
weekdaysMin: [
|
|
23
|
+
"Mg",
|
|
24
|
+
"Sn",
|
|
25
|
+
"Sl",
|
|
26
|
+
"Rb",
|
|
27
|
+
"Km",
|
|
28
|
+
"Jm",
|
|
29
|
+
"Sb"
|
|
30
|
+
],
|
|
31
|
+
months: [
|
|
32
|
+
"Januari",
|
|
33
|
+
"Februari",
|
|
34
|
+
"Maret",
|
|
35
|
+
"April",
|
|
36
|
+
"Mei",
|
|
37
|
+
"Juni",
|
|
38
|
+
"Juli",
|
|
39
|
+
"Agustus",
|
|
40
|
+
"September",
|
|
41
|
+
"Oktober",
|
|
42
|
+
"November",
|
|
43
|
+
"Desember"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"Jan",
|
|
47
|
+
"Feb",
|
|
48
|
+
"Mar",
|
|
49
|
+
"Apr",
|
|
50
|
+
"Mei",
|
|
51
|
+
"Jun",
|
|
52
|
+
"Jul",
|
|
53
|
+
"Agt",
|
|
54
|
+
"Sep",
|
|
55
|
+
"Okt",
|
|
56
|
+
"Nov",
|
|
57
|
+
"Des"
|
|
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 [pukul] HH.mm",
|
|
69
|
+
LLLL: "dddd, D MMMM YYYY [pukul] HH.mm",
|
|
70
|
+
l: "DD/MM/YYYY",
|
|
71
|
+
ll: "D MMMM YYYY",
|
|
72
|
+
lll: "D MMMM YYYY HH.mm",
|
|
73
|
+
llll: "dddd, D MMMM YYYY HH.mm"
|
|
74
|
+
},
|
|
75
|
+
calendar: {
|
|
76
|
+
sameDay: "[Hari ini pukul] LT",
|
|
77
|
+
nextDay: "[Besok pukul] LT",
|
|
78
|
+
nextWeek: "dddd [pukul] LT",
|
|
79
|
+
lastDay: "[Kemarin pukul] LT",
|
|
80
|
+
lastWeek: "dddd [lalu pukul] LT",
|
|
81
|
+
sameElse: "L"
|
|
82
|
+
},
|
|
83
|
+
relativeTime: {
|
|
84
|
+
future: "dalam %s",
|
|
85
|
+
past: "%s yang lalu",
|
|
86
|
+
s: "beberapa detik",
|
|
87
|
+
ss: "%d detik",
|
|
88
|
+
m: "semenit",
|
|
89
|
+
mm: "%d menit",
|
|
90
|
+
h: "sejam",
|
|
91
|
+
hh: "%d jam",
|
|
92
|
+
d: "sehari",
|
|
93
|
+
dd: "%d hari",
|
|
94
|
+
w: "seminggu",
|
|
95
|
+
ww: "%d minggu",
|
|
96
|
+
M: "sebulan",
|
|
97
|
+
MM: "%d bulan",
|
|
98
|
+
y: "setahun",
|
|
99
|
+
yy: "%d tahun"
|
|
100
|
+
},
|
|
101
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
102
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
103
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
//#endregion
|
|
108
|
+
export { localeId as default };
|
package/locales/is.d.mts
ADDED
package/locales/is.mjs
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
//#region src/locales/is.ts
|
|
2
|
+
function plural(value) {
|
|
3
|
+
if (value % 100 === 11) return true;
|
|
4
|
+
if (value % 10 === 1) return false;
|
|
5
|
+
return true;
|
|
6
|
+
}
|
|
7
|
+
const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
8
|
+
const timeValueAsNumber = +timeValue;
|
|
9
|
+
const result = `${timeValueAsNumber} `;
|
|
10
|
+
switch (token) {
|
|
11
|
+
case "s": return withoutSuffix || isFuture ? "nokkrar sekúndur" : "nokkrum sekúndum";
|
|
12
|
+
case "ss":
|
|
13
|
+
if (plural(timeValueAsNumber)) return `${result}${withoutSuffix || isFuture ? "sekúndur" : "sekúndum"}`;
|
|
14
|
+
return `${result}sekúnda`;
|
|
15
|
+
case "m": return withoutSuffix ? "mínúta" : "mínútu";
|
|
16
|
+
case "mm":
|
|
17
|
+
if (plural(timeValueAsNumber)) return `${result}${withoutSuffix || isFuture ? "mínútur" : "mínútum"}`;
|
|
18
|
+
if (withoutSuffix) return `${result}mínúta`;
|
|
19
|
+
return `${result}mínútu`;
|
|
20
|
+
case "h": return withoutSuffix ? "klukkustund" : "klukkustund";
|
|
21
|
+
case "hh":
|
|
22
|
+
if (plural(timeValueAsNumber)) return result + (withoutSuffix || isFuture ? "klukkustundir" : "klukkustundum");
|
|
23
|
+
return `${result}klukkustund`;
|
|
24
|
+
case "d":
|
|
25
|
+
if (withoutSuffix) return "dagur";
|
|
26
|
+
return isFuture ? "dag" : "degi";
|
|
27
|
+
case "dd":
|
|
28
|
+
if (plural(timeValueAsNumber)) {
|
|
29
|
+
if (withoutSuffix) return `${result}dagar`;
|
|
30
|
+
return `${result}${isFuture ? "daga" : "dögum"}`;
|
|
31
|
+
}
|
|
32
|
+
if (withoutSuffix) return `${result}dagur`;
|
|
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"}`;
|
|
44
|
+
case "M":
|
|
45
|
+
if (withoutSuffix) return "mánuður";
|
|
46
|
+
return isFuture ? "mánuð" : "mánuði";
|
|
47
|
+
case "MM":
|
|
48
|
+
if (plural(timeValueAsNumber)) {
|
|
49
|
+
if (withoutSuffix) return `${result}mánuðir`;
|
|
50
|
+
return `${result}${isFuture ? "mánuði" : "mánuðum"}`;
|
|
51
|
+
}
|
|
52
|
+
if (withoutSuffix) return `${result}mánuður`;
|
|
53
|
+
return `${result}${isFuture ? "mánuð" : "mánuði"}`;
|
|
54
|
+
case "y": return withoutSuffix || isFuture ? "ár" : "ári";
|
|
55
|
+
case "yy":
|
|
56
|
+
if (plural(timeValueAsNumber)) return `${result}${withoutSuffix || isFuture ? "ár" : "árum"}`;
|
|
57
|
+
return `${result}${withoutSuffix || isFuture ? "ár" : "ári"}`;
|
|
58
|
+
default: return "";
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
const localeIs = {
|
|
62
|
+
name: "is",
|
|
63
|
+
weekdays: [
|
|
64
|
+
"sunnudagur",
|
|
65
|
+
"mánudagur",
|
|
66
|
+
"þriðjudagur",
|
|
67
|
+
"miðvikudagur",
|
|
68
|
+
"fimmtudagur",
|
|
69
|
+
"föstudagur",
|
|
70
|
+
"laugardagur"
|
|
71
|
+
],
|
|
72
|
+
weekdaysShort: [
|
|
73
|
+
"sun",
|
|
74
|
+
"mán",
|
|
75
|
+
"þri",
|
|
76
|
+
"mið",
|
|
77
|
+
"fim",
|
|
78
|
+
"fös",
|
|
79
|
+
"lau"
|
|
80
|
+
],
|
|
81
|
+
weekdaysMin: [
|
|
82
|
+
"Su",
|
|
83
|
+
"Má",
|
|
84
|
+
"Þr",
|
|
85
|
+
"Mi",
|
|
86
|
+
"Fi",
|
|
87
|
+
"Fö",
|
|
88
|
+
"La"
|
|
89
|
+
],
|
|
90
|
+
months: [
|
|
91
|
+
"janúar",
|
|
92
|
+
"febrúar",
|
|
93
|
+
"mars",
|
|
94
|
+
"apríl",
|
|
95
|
+
"maí",
|
|
96
|
+
"júní",
|
|
97
|
+
"júlí",
|
|
98
|
+
"ágúst",
|
|
99
|
+
"september",
|
|
100
|
+
"október",
|
|
101
|
+
"nóvember",
|
|
102
|
+
"desember"
|
|
103
|
+
],
|
|
104
|
+
monthsShort: [
|
|
105
|
+
"jan",
|
|
106
|
+
"feb",
|
|
107
|
+
"mar",
|
|
108
|
+
"apr",
|
|
109
|
+
"maí",
|
|
110
|
+
"jún",
|
|
111
|
+
"júl",
|
|
112
|
+
"ágú",
|
|
113
|
+
"sep",
|
|
114
|
+
"okt",
|
|
115
|
+
"nóv",
|
|
116
|
+
"des"
|
|
117
|
+
],
|
|
118
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
119
|
+
ordinal: (n) => `${n}`,
|
|
120
|
+
weekStart: 1,
|
|
121
|
+
yearStart: 4,
|
|
122
|
+
formats: {
|
|
123
|
+
LT: "H:mm",
|
|
124
|
+
LTS: "H:mm:ss",
|
|
125
|
+
L: "DD.MM.YYYY",
|
|
126
|
+
LL: "D. MMMM YYYY",
|
|
127
|
+
LLL: "D. MMMM YYYY [kl.] H:mm",
|
|
128
|
+
LLLL: "dddd, D. MMMM YYYY [kl.] H:mm",
|
|
129
|
+
l: "DD.MM.YYYY",
|
|
130
|
+
ll: "D. MMMM YYYY",
|
|
131
|
+
lll: "D. MMMM YYYY [kl.] H:mm",
|
|
132
|
+
llll: "dddd, D. MMMM YYYY [kl.] H:mm"
|
|
133
|
+
},
|
|
134
|
+
calendar: {
|
|
135
|
+
sameDay: "[í dag kl.] LT",
|
|
136
|
+
nextDay: "[á morgun kl.] LT",
|
|
137
|
+
nextWeek: "dddd [kl.] LT",
|
|
138
|
+
lastDay: "[í gær kl.] LT",
|
|
139
|
+
lastWeek: "[síðasta] dddd [kl.] LT",
|
|
140
|
+
sameElse: "L"
|
|
141
|
+
},
|
|
142
|
+
relativeTime: {
|
|
143
|
+
future: "eftir %s",
|
|
144
|
+
past: "fyrir %s síðan",
|
|
145
|
+
s: relativeTimeFormatter,
|
|
146
|
+
ss: relativeTimeFormatter,
|
|
147
|
+
m: relativeTimeFormatter,
|
|
148
|
+
mm: relativeTimeFormatter,
|
|
149
|
+
h: relativeTimeFormatter,
|
|
150
|
+
hh: relativeTimeFormatter,
|
|
151
|
+
d: relativeTimeFormatter,
|
|
152
|
+
dd: relativeTimeFormatter,
|
|
153
|
+
w: relativeTimeFormatter,
|
|
154
|
+
ww: relativeTimeFormatter,
|
|
155
|
+
M: relativeTimeFormatter,
|
|
156
|
+
MM: relativeTimeFormatter,
|
|
157
|
+
y: relativeTimeFormatter,
|
|
158
|
+
yy: relativeTimeFormatter
|
|
159
|
+
},
|
|
160
|
+
meridiem: (hour, _minute, isLowercase) => {
|
|
161
|
+
const m = hour < 12 ? "AM" : "PM";
|
|
162
|
+
return isLowercase ? m.toLowerCase() : m;
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
//#endregion
|
|
167
|
+
export { localeIs as default };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
2
|
+
import localeIt from "./it.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/it-ch.ts
|
|
5
|
+
const localeItCh = cloneLocale(localeIt);
|
|
6
|
+
const formats = structuredClone(localeItCh.formats);
|
|
7
|
+
formats.L = "DD.MM.YYYY";
|
|
8
|
+
formats.l = "DD.MM.YYYY";
|
|
9
|
+
const calendar = {
|
|
10
|
+
sameDay: "[Oggi alle] LT",
|
|
11
|
+
nextDay: "[Domani alle] LT",
|
|
12
|
+
nextWeek: "dddd [alle] LT",
|
|
13
|
+
lastDay: "[Ieri alle] LT",
|
|
14
|
+
lastWeek() {
|
|
15
|
+
switch (this.day()) {
|
|
16
|
+
case 0: return "[la scorsa] dddd [alle] LT";
|
|
17
|
+
default: return "[lo scorso] dddd [alle] LT";
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
sameElse: "L"
|
|
21
|
+
};
|
|
22
|
+
setLocaleProperty(localeItCh, "name", "it-CH");
|
|
23
|
+
setLocaleProperty(localeItCh, "formats", formats);
|
|
24
|
+
setLocaleProperty(localeItCh, "calendar", calendar);
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { localeItCh as default };
|
package/locales/it.d.mts
ADDED
package/locales/it.mjs
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
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
|
+
};
|
|
119
|
+
|
|
120
|
+
//#endregion
|
|
121
|
+
export { localeIt as default };
|
package/locales/ja.d.mts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Locale } from "../plugins/locale/index.mjs";
|
|
2
|
+
|
|
3
|
+
//#region src/locales/ja.d.ts
|
|
4
|
+
declare module 'esday' {
|
|
5
|
+
interface EsDay {
|
|
6
|
+
week(): number;
|
|
7
|
+
week(newWeek: number): EsDay;
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
declare const localeJa: Readonly<Locale>;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { localeJa as default };
|
package/locales/ja.mjs
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
//#region src/locales/ja.ts
|
|
2
|
+
const localeJa = {
|
|
3
|
+
name: "ja",
|
|
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
|
+
"1月",
|
|
33
|
+
"2月",
|
|
34
|
+
"3月",
|
|
35
|
+
"4月",
|
|
36
|
+
"5月",
|
|
37
|
+
"6月",
|
|
38
|
+
"7月",
|
|
39
|
+
"8月",
|
|
40
|
+
"9月",
|
|
41
|
+
"10月",
|
|
42
|
+
"11月",
|
|
43
|
+
"12月"
|
|
44
|
+
],
|
|
45
|
+
monthsShort: [
|
|
46
|
+
"1月",
|
|
47
|
+
"2月",
|
|
48
|
+
"3月",
|
|
49
|
+
"4月",
|
|
50
|
+
"5月",
|
|
51
|
+
"6月",
|
|
52
|
+
"7月",
|
|
53
|
+
"8月",
|
|
54
|
+
"9月",
|
|
55
|
+
"10月",
|
|
56
|
+
"11月",
|
|
57
|
+
"12月"
|
|
58
|
+
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}日/,
|
|
60
|
+
ordinal: (n) => `${n}日`,
|
|
61
|
+
weekStart: 0,
|
|
62
|
+
yearStart: 4,
|
|
63
|
+
formats: {
|
|
64
|
+
LT: "HH:mm",
|
|
65
|
+
LTS: "HH:mm:ss",
|
|
66
|
+
L: "YYYY/MM/DD",
|
|
67
|
+
LL: "YYYY年M月D日",
|
|
68
|
+
LLL: "YYYY年M月D日 HH:mm",
|
|
69
|
+
LLLL: "YYYY年M月D日 dddd HH:mm",
|
|
70
|
+
l: "YYYY/MM/DD",
|
|
71
|
+
ll: "YYYY年M月D日",
|
|
72
|
+
lll: "YYYY年M月D日 HH:mm",
|
|
73
|
+
llll: "YYYY年M月D日(ddd) HH:mm"
|
|
74
|
+
},
|
|
75
|
+
calendar: {
|
|
76
|
+
sameDay: "[今日] LT",
|
|
77
|
+
nextDay: "[明日] LT",
|
|
78
|
+
nextWeek(refDate) {
|
|
79
|
+
if (refDate?.week?.() !== this.week?.()) return "[来週]dddd LT";
|
|
80
|
+
return "dddd LT";
|
|
81
|
+
},
|
|
82
|
+
lastDay: "[昨日] LT",
|
|
83
|
+
lastWeek(refDate) {
|
|
84
|
+
if (this.week?.() !== refDate?.week?.()) return "[先週]dddd LT";
|
|
85
|
+
return "dddd LT";
|
|
86
|
+
},
|
|
87
|
+
sameElse: "L"
|
|
88
|
+
},
|
|
89
|
+
relativeTime: {
|
|
90
|
+
future: "%s後",
|
|
91
|
+
past: "%s前",
|
|
92
|
+
s: "数秒",
|
|
93
|
+
ss: "%d秒",
|
|
94
|
+
m: "1分",
|
|
95
|
+
mm: "%d分",
|
|
96
|
+
h: "1時間",
|
|
97
|
+
hh: "%d時間",
|
|
98
|
+
d: "1日",
|
|
99
|
+
dd: "%d日",
|
|
100
|
+
w: "1週間後",
|
|
101
|
+
ww: "%d週間後",
|
|
102
|
+
M: "1ヶ月",
|
|
103
|
+
MM: "%dヶ月",
|
|
104
|
+
y: "1年",
|
|
105
|
+
yy: "%d年"
|
|
106
|
+
},
|
|
107
|
+
meridiem: (hour) => hour < 12 ? "午前" : "午後"
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
//#endregion
|
|
111
|
+
export { localeJa as default };
|