esday 0.5.0 → 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 +35 -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/{index.js → chunks/CXWzCl3n.js} +91 -183
- 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.mts +3 -0
- package/index.mjs +3 -0
- package/locales/af.d.mts +6 -0
- package/locales/{af.js → af.mjs} +4 -2
- package/locales/am.d.mts +6 -0
- package/locales/{am.js → am.mjs} +4 -2
- package/locales/ar-dz.d.mts +9 -0
- package/locales/{ar-dz.js → ar-dz.mjs} +7 -9
- 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.js → ar-kw.mjs} +7 -9
- 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.js → ar-ma.mjs} +7 -9
- package/locales/ar-sa.d.mts +9 -0
- package/locales/{ar-sa.js → ar-sa.mjs} +7 -9
- package/locales/ar-tn.d.mts +9 -0
- package/locales/{ar-tn.js → ar-tn.mjs} +7 -9
- package/locales/ar.d.mts +6 -0
- package/{chunks/BeVgU2nj.js → locales/ar.mjs} +12 -2
- package/locales/az.d.mts +6 -0
- package/locales/{az.js → az.mjs} +4 -2
- package/locales/be.d.mts +6 -0
- package/locales/{be.js → be.mjs} +55 -59
- package/locales/bg.d.mts +6 -0
- package/locales/{bg.js → bg.mjs} +4 -2
- package/locales/bi.d.mts +6 -0
- package/locales/{bi.js → bi.mjs} +4 -2
- package/locales/bm.d.mts +6 -0
- package/locales/{bm.js → bm.mjs} +4 -2
- package/locales/bn-bd.d.mts +9 -0
- package/locales/{bn-bd.js → bn-bd.mjs} +7 -9
- package/locales/bn.d.mts +6 -0
- package/{chunks/GjKpN6U-.js → locales/bn.mjs} +4 -2
- package/locales/bo.d.mts +6 -0
- package/locales/{bo.js → bo.mjs} +4 -2
- package/locales/br.d.mts +6 -0
- package/locales/{br.js → br.mjs} +10 -9
- package/locales/bs.d.mts +6 -0
- package/locales/{bs.js → bs.mjs} +4 -2
- package/locales/ca.d.mts +6 -0
- package/locales/{ca.js → ca.mjs} +35 -36
- package/locales/cs.d.mts +6 -0
- package/locales/{cs.js → cs.mjs} +38 -34
- package/locales/cv.d.mts +6 -0
- package/locales/{cv.js → cv.mjs} +4 -2
- package/locales/cy.d.mts +6 -0
- package/locales/{cy.js → cy.mjs} +4 -2
- package/locales/da.d.mts +6 -0
- package/locales/{da.js → da.mjs} +4 -2
- package/locales/de-at.d.mts +9 -0
- package/locales/{de-at.js → de-at.mjs} +7 -9
- package/locales/de-ch.d.mts +9 -0
- package/locales/de-ch.mjs +12 -0
- package/locales/de.d.mts +6 -0
- package/{chunks/DMtTiWuY.js → locales/de.mjs} +6 -2
- package/locales/dv.d.mts +6 -0
- package/locales/{dv.js → dv.mjs} +4 -2
- package/locales/el.d.mts +6 -0
- package/locales/{el.js → el.mjs} +4 -2
- package/locales/en-au.d.mts +9 -0
- package/locales/{en-au.js → en-au.mjs} +7 -8
- package/locales/en-ca.d.mts +9 -0
- package/locales/{en-ca.js → en-ca.mjs} +7 -8
- package/locales/{en-gb.d.ts → en-gb.d.mts} +1 -3
- package/locales/{en-gb.js → en-gb.mjs} +9 -8
- package/locales/en-ie.d.mts +9 -0
- package/locales/{en-ie.js → en-ie.mjs} +7 -8
- package/locales/en-il.d.mts +9 -0
- package/locales/{en-il.js → en-il.mjs} +7 -8
- package/locales/en-in.d.mts +9 -0
- package/locales/{en-in.js → en-in.mjs} +7 -8
- package/locales/en-nz.d.mts +9 -0
- package/locales/{en-nz.js → en-nz.mjs} +7 -8
- package/locales/en-sg.d.mts +9 -0
- package/locales/{en-sg.js → en-sg.mjs} +7 -8
- package/locales/en-tt.d.mts +9 -0
- package/locales/{en-tt.js → en-tt.mjs} +7 -8
- package/locales/en-us.d.mts +9 -0
- package/locales/en-us.mjs +12 -0
- package/locales/en.d.mts +6 -0
- package/{chunks/tfkJ5D3p.js → locales/en.mjs} +4 -2
- package/locales/eo.d.mts +6 -0
- package/locales/{eo.js → eo.mjs} +4 -2
- package/locales/es-do.d.mts +9 -0
- package/locales/{es-do.js → es-do.mjs} +7 -9
- 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/{chunks/Dixb5KKs.js → locales/es.mjs} +4 -2
- package/locales/et.d.mts +6 -0
- package/locales/{et.js → et.mjs} +6 -2
- package/locales/eu.d.mts +6 -0
- package/locales/{eu.js → eu.mjs} +4 -2
- package/locales/fa.d.mts +6 -0
- package/locales/{fa.js → fa.mjs} +4 -2
- package/locales/fi.d.mts +6 -0
- package/locales/{fi.js → fi.mjs} +8 -2
- package/locales/fil.d.mts +6 -0
- package/locales/{fil.js → fil.mjs} +4 -2
- package/locales/fo.d.mts +6 -0
- package/locales/{fo.js → fo.mjs} +4 -2
- 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/{chunks/D009Z-ld.js → locales/fr.mjs} +5 -4
- package/locales/fy.d.mts +6 -0
- package/locales/{fy.js → fy.mjs} +4 -2
- package/locales/ga.d.mts +6 -0
- package/locales/{ga.js → ga.mjs} +4 -2
- package/locales/gd.d.mts +6 -0
- package/locales/{gd.js → gd.mjs} +4 -2
- package/locales/gl.d.mts +6 -0
- package/locales/{gl.js → gl.mjs} +4 -2
- package/locales/gom-deva.d.mts +6 -0
- package/locales/{gom-deva.js → gom-deva.mjs} +34 -32
- package/locales/gom-latn.d.mts +6 -0
- package/locales/{gom-latn.js → gom-latn.mjs} +34 -32
- package/locales/gu.d.mts +6 -0
- package/locales/{gu.js → gu.mjs} +4 -2
- package/locales/he.d.mts +6 -0
- package/locales/{he.js → he.mjs} +8 -5
- package/locales/hi.d.mts +6 -0
- package/locales/{hi.js → hi.mjs} +34 -35
- package/locales/hr.d.mts +6 -0
- package/locales/{hr.js → hr.mjs} +10 -4
- package/locales/ht.d.mts +6 -0
- package/locales/{ht.js → ht.mjs} +4 -2
- package/locales/hu.d.mts +6 -0
- package/locales/{hu.js → hu.mjs} +6 -2
- package/locales/hy-am.d.mts +6 -0
- package/locales/{hy-am.js → hy-am.mjs} +34 -35
- package/locales/id.d.mts +6 -0
- package/locales/{id.js → id.mjs} +4 -2
- package/locales/is.d.mts +6 -0
- package/locales/{is.js → is.mjs} +14 -2
- package/locales/it-ch.d.mts +9 -0
- package/locales/{it-ch.js → it-ch.mjs} +4 -9
- package/locales/it.d.mts +6 -0
- package/{chunks/B5f9poqo.js → locales/it.mjs} +25 -24
- package/locales/{ja.d.ts → ja.d.mts} +1 -4
- package/locales/{ja.js → ja.mjs} +4 -2
- package/locales/jv.d.mts +6 -0
- package/locales/{jv.js → jv.mjs} +4 -2
- package/locales/ka.d.mts +6 -0
- package/locales/{ka.js → ka.mjs} +25 -26
- package/locales/kk.d.mts +6 -0
- package/locales/{kk.js → kk.mjs} +4 -2
- package/locales/km.d.mts +6 -0
- package/locales/{km.js → km.mjs} +4 -2
- package/locales/kn.d.mts +6 -0
- package/locales/{kn.js → kn.mjs} +4 -2
- package/locales/ko.d.mts +6 -0
- package/locales/{ko.js → ko.mjs} +5 -3
- package/locales/ku.d.mts +6 -0
- package/locales/{ku.js → ku.mjs} +4 -2
- package/locales/ky.d.mts +6 -0
- package/locales/{ky.js → ky.mjs} +4 -2
- package/locales/lb.d.mts +6 -0
- package/locales/{lb.js → lb.mjs} +5 -2
- package/locales/lo.d.mts +6 -0
- package/locales/{lo.js → lo.mjs} +4 -2
- package/locales/lt.d.mts +6 -0
- package/locales/{lt.js → lt.mjs} +4 -2
- package/locales/lv.d.mts +6 -0
- package/locales/{lv.js → lv.mjs} +4 -2
- package/locales/me.d.mts +6 -0
- package/locales/{me.js → me.mjs} +33 -33
- package/locales/mi.d.mts +6 -0
- package/locales/{mi.js → mi.mjs} +4 -2
- package/locales/mk.d.mts +6 -0
- package/locales/{mk.js → mk.mjs} +4 -2
- package/locales/ml.d.mts +6 -0
- package/locales/{ml.js → ml.mjs} +4 -2
- package/locales/mn.d.mts +6 -0
- package/locales/{mn.js → mn.mjs} +37 -16
- package/locales/mr.d.mts +6 -0
- package/locales/{mr.js → mr.mjs} +16 -2
- package/locales/ms-my.d.mts +9 -0
- package/locales/ms-my.mjs +12 -0
- package/locales/ms.d.mts +6 -0
- package/{chunks/CQ57zhVp.js → locales/ms.mjs} +4 -2
- package/locales/mt.d.mts +6 -0
- package/locales/{mt.js → mt.mjs} +4 -2
- package/locales/my.d.mts +6 -0
- package/locales/{my.js → my.mjs} +4 -2
- package/locales/nb.d.mts +6 -0
- package/locales/{nb.js → nb.mjs} +4 -2
- package/locales/ne.d.mts +6 -0
- package/locales/{ne.js → ne.mjs} +4 -2
- package/locales/nl-be.d.mts +9 -0
- package/locales/nl-be.mjs +16 -0
- package/locales/nl.d.mts +6 -0
- package/{chunks/BDssPbM_.js → locales/nl.mjs} +4 -2
- package/locales/nn.d.mts +6 -0
- package/locales/{nn.js → nn.mjs} +4 -2
- package/locales/oc-lnc.d.mts +6 -0
- package/locales/{oc-lnc.js → oc-lnc.mjs} +35 -36
- package/locales/pa-in.d.mts +6 -0
- package/locales/{pa-in.js → pa-in.mjs} +4 -2
- package/locales/pl.d.mts +6 -0
- package/locales/{pl.js → pl.mjs} +5 -2
- package/locales/pt-br.d.mts +9 -0
- package/locales/{pt-br.js → pt-br.mjs} +7 -9
- package/locales/pt.d.mts +6 -0
- package/{chunks/CWqzr5E5.js → locales/pt.mjs} +4 -2
- package/locales/rn.d.mts +6 -0
- package/locales/{rn.js → rn.mjs} +4 -2
- package/locales/ro.d.mts +6 -0
- package/locales/{ro.js → ro.mjs} +4 -2
- package/locales/{ru.d.ts → ru.d.mts} +1 -4
- package/locales/{ru.js → ru.mjs} +83 -82
- package/locales/rw.d.mts +6 -0
- package/locales/{rw.js → rw.mjs} +4 -2
- package/locales/sd.d.mts +6 -0
- package/locales/{sd.js → sd.mjs} +4 -2
- package/locales/se.d.mts +6 -0
- package/locales/{se.js → se.mjs} +4 -2
- package/locales/si.d.mts +6 -0
- package/locales/{si.js → si.mjs} +4 -2
- package/locales/sk.d.mts +6 -0
- package/locales/{sk.js → sk.mjs} +8 -2
- package/locales/sl.d.mts +6 -0
- package/locales/{sl.js → sl.mjs} +8 -2
- package/locales/sq.d.mts +6 -0
- package/locales/{sq.js → sq.mjs} +4 -2
- package/locales/sr-cyrl.d.mts +9 -0
- package/locales/{sr-cyrl.js → sr-cyrl.mjs} +16 -15
- package/locales/sr.d.mts +6 -0
- package/{chunks/Cg4ZI9v8.js → locales/sr.mjs} +14 -8
- package/locales/ss.d.mts +6 -0
- package/locales/{ss.js → ss.mjs} +4 -2
- package/locales/sv-fi.d.mts +9 -0
- package/locales/{sv-fi.js → sv-fi.mjs} +7 -9
- package/locales/sv.d.mts +6 -0
- package/{chunks/br7kModF.js → locales/sv.mjs} +5 -4
- package/locales/sw.d.mts +6 -0
- package/locales/{sw.js → sw.mjs} +4 -2
- package/locales/ta.d.mts +6 -0
- package/locales/{ta.js → ta.mjs} +4 -2
- package/locales/te.d.mts +6 -0
- package/locales/{te.js → te.mjs} +4 -2
- package/locales/tet.d.mts +6 -0
- package/locales/{tet.js → tet.mjs} +5 -4
- package/locales/tg.d.mts +6 -0
- package/locales/{tg.js → tg.mjs} +34 -35
- package/locales/th.d.mts +6 -0
- package/locales/{th.js → th.mjs} +4 -2
- package/locales/tk.d.mts +6 -0
- package/locales/{tk.js → tk.mjs} +5 -4
- package/locales/tl-ph.d.mts +6 -0
- package/locales/{tl-ph.js → tl-ph.mjs} +4 -2
- package/locales/tlh.d.mts +6 -0
- package/locales/{tlh.js → tlh.mjs} +5 -2
- package/locales/tr.d.mts +6 -0
- package/locales/{tr.js → tr.mjs} +5 -4
- package/locales/tzl.d.mts +6 -0
- package/locales/{tzl.js → tzl.mjs} +4 -2
- package/locales/tzm-latn.d.mts +9 -0
- package/locales/{tzm-latn.js → tzm-latn.mjs} +9 -9
- package/locales/tzm.d.mts +6 -0
- package/{chunks/l2Rxo2H0.js → locales/tzm.mjs} +4 -2
- package/locales/ug-cn.d.mts +6 -0
- package/locales/{ug-cn.js → ug-cn.mjs} +4 -2
- package/locales/uk.d.mts +6 -0
- package/locales/{uk.js → uk.mjs} +37 -32
- package/locales/ur.d.mts +6 -0
- package/locales/{ur.js → ur.mjs} +4 -2
- package/locales/uz-latn.d.mts +9 -0
- package/locales/{uz-latn.js → uz-latn.mjs} +9 -9
- package/locales/uz.d.mts +6 -0
- package/{chunks/CQJ0-ZuR.js → locales/uz.mjs} +4 -2
- package/locales/vi.d.mts +6 -0
- package/locales/{vi.js → vi.mjs} +4 -2
- package/locales/x-pseudo.d.mts +6 -0
- package/locales/{x-pseudo.js → x-pseudo.mjs} +5 -4
- package/locales/yo.d.mts +6 -0
- package/locales/{yo.js → yo.mjs} +4 -2
- 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.ts → zh.d.mts} +1 -4
- package/{chunks/BXRGSAJG.js → locales/zh.mjs} +5 -4
- package/package.json +29 -23
- package/plugins/advancedFormat/index.d.mts +6 -0
- package/plugins/advancedFormat/{index.js → index.mjs} +4 -6
- package/plugins/advancedParse/index.d.mts +6 -0
- package/plugins/advancedParse/{index.js → index.mjs} +21 -20
- package/plugins/calendar/{index.d.ts → index.d.mts} +2 -4
- package/plugins/calendar/{index.js → index.mjs} +1 -2
- package/plugins/dayOfYear/{index.d.ts → index.d.mts} +1 -2
- package/plugins/dayOfYear/{index.js → index.mjs} +1 -2
- package/plugins/duration/index.d.mts +78 -0
- package/plugins/duration/index.mjs +477 -0
- package/plugins/isBetween/{index.d.ts → index.d.mts} +1 -2
- package/plugins/isBetween/{index.js → index.mjs} +2 -3
- package/plugins/isLeapYear/{index.d.ts → index.d.mts} +1 -2
- package/plugins/isLeapYear/{index.js → index.mjs} +1 -2
- package/plugins/isSameOrAfter/{index.d.ts → index.d.mts} +1 -2
- package/plugins/isSameOrAfter/{index.js → index.mjs} +1 -2
- package/plugins/isSameOrBefore/{index.d.ts → index.d.mts} +1 -2
- package/plugins/isSameOrBefore/{index.js → index.mjs} +1 -2
- package/plugins/isToday/{index.d.ts → index.d.mts} +1 -2
- package/plugins/isToday/{index.js → index.mjs} +2 -3
- package/plugins/isTomorrow/{index.d.ts → index.d.mts} +1 -2
- package/plugins/isTomorrow/{index.js → index.mjs} +2 -3
- package/plugins/isYesterday/{index.d.ts → index.d.mts} +1 -2
- package/plugins/isYesterday/{index.js → index.mjs} +2 -3
- package/plugins/isoWeek/{index.d.ts → index.d.mts} +1 -3
- package/plugins/isoWeek/{index.js → index.mjs} +13 -25
- package/{chunks/St35qgL0.d.ts → plugins/locale/index.d.mts} +5 -4
- package/{chunks/CoBtJ4c1.js → plugins/locale/index.mjs} +13 -16
- package/plugins/localeData/index.d.mts +6 -0
- package/plugins/localeData/{index.js → index.mjs} +18 -11
- package/plugins/localizedFormat/index.d.mts +6 -0
- package/plugins/localizedFormat/{index.js → index.mjs} +5 -10
- package/plugins/localizedParse/index.d.mts +6 -0
- package/plugins/localizedParse/{index.js → index.mjs} +40 -22
- package/plugins/minMax/{index.d.ts → index.d.mts} +1 -2
- package/plugins/minMax/{index.js → index.mjs} +2 -3
- package/plugins/objectSupport/index.d.mts +6 -0
- package/plugins/objectSupport/{index.js → index.mjs} +33 -38
- package/plugins/pluralGetSet/{index.d.ts → index.d.mts} +1 -3
- package/plugins/pluralGetSet/{index.js → index.mjs} +1 -2
- package/plugins/quarterOfYear/{index.d.ts → index.d.mts} +1 -3
- package/plugins/quarterOfYear/{index.js → index.mjs} +11 -18
- 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.ts → index.d.mts} +1 -2
- package/plugins/toArray/{index.js → index.mjs} +1 -2
- package/plugins/toObject/{index.d.ts → index.d.mts} +1 -2
- package/plugins/toObject/{index.js → index.mjs} +1 -2
- package/plugins/utc/{index.d.ts → index.d.mts} +1 -2
- package/plugins/utc/{index.js → index.mjs} +37 -39
- package/plugins/week/{index.d.ts → index.d.mts} +1 -3
- package/plugins/week/{index.js → index.mjs} +17 -27
- package/chunks/BtmEtAW3.js +0 -43
- package/chunks/DjY7KvwG.js +0 -28
- package/index.d.ts +0 -3
- package/locales/af.d.ts +0 -8
- package/locales/am.d.ts +0 -8
- package/locales/ar-dz.d.ts +0 -11
- package/locales/ar-iq.d.ts +0 -11
- package/locales/ar-iq.js +0 -14
- package/locales/ar-kw.d.ts +0 -11
- package/locales/ar-ly.d.ts +0 -11
- package/locales/ar-ly.js +0 -14
- package/locales/ar-ma.d.ts +0 -11
- package/locales/ar-sa.d.ts +0 -11
- package/locales/ar-tn.d.ts +0 -11
- package/locales/ar.d.ts +0 -8
- package/locales/ar.js +0 -3
- package/locales/az.d.ts +0 -8
- package/locales/be.d.ts +0 -8
- package/locales/bg.d.ts +0 -8
- package/locales/bi.d.ts +0 -8
- package/locales/bm.d.ts +0 -8
- package/locales/bn-bd.d.ts +0 -11
- package/locales/bn.d.ts +0 -8
- package/locales/bn.js +0 -3
- package/locales/bo.d.ts +0 -8
- package/locales/br.d.ts +0 -8
- package/locales/bs.d.ts +0 -8
- package/locales/ca.d.ts +0 -8
- package/locales/cs.d.ts +0 -8
- package/locales/cv.d.ts +0 -8
- package/locales/cy.d.ts +0 -8
- package/locales/da.d.ts +0 -8
- package/locales/de-at.d.ts +0 -11
- package/locales/de-ch.d.ts +0 -11
- package/locales/de-ch.js +0 -14
- package/locales/de.d.ts +0 -8
- package/locales/de.js +0 -3
- package/locales/dv.d.ts +0 -8
- package/locales/el.d.ts +0 -8
- package/locales/en-au.d.ts +0 -11
- package/locales/en-ca.d.ts +0 -11
- package/locales/en-ie.d.ts +0 -11
- package/locales/en-il.d.ts +0 -11
- package/locales/en-in.d.ts +0 -11
- package/locales/en-nz.d.ts +0 -11
- package/locales/en-sg.d.ts +0 -11
- package/locales/en-tt.d.ts +0 -11
- package/locales/en-us.d.ts +0 -11
- package/locales/en-us.js +0 -13
- package/locales/en.d.ts +0 -8
- package/locales/en.js +0 -3
- package/locales/eo.d.ts +0 -8
- package/locales/es-do.d.ts +0 -11
- package/locales/es-mx.d.ts +0 -11
- package/locales/es-mx.js +0 -15
- package/locales/es-pr.d.ts +0 -11
- package/locales/es-pr.js +0 -18
- package/locales/es-us.d.ts +0 -11
- package/locales/es-us.js +0 -14
- package/locales/es.d.ts +0 -8
- package/locales/es.js +0 -3
- package/locales/et.d.ts +0 -8
- package/locales/eu.d.ts +0 -8
- package/locales/fa.d.ts +0 -8
- package/locales/fi.d.ts +0 -8
- package/locales/fil.d.ts +0 -8
- package/locales/fo.d.ts +0 -8
- package/locales/fr-ca.d.ts +0 -11
- package/locales/fr-ca.js +0 -18
- package/locales/fr-ch.d.ts +0 -11
- package/locales/fr-ch.js +0 -18
- package/locales/fr.d.ts +0 -8
- package/locales/fr.js +0 -3
- package/locales/fy.d.ts +0 -8
- package/locales/ga.d.ts +0 -8
- package/locales/gd.d.ts +0 -8
- package/locales/gl.d.ts +0 -8
- package/locales/gom-deva.d.ts +0 -8
- package/locales/gom-latn.d.ts +0 -8
- package/locales/gu.d.ts +0 -8
- package/locales/he.d.ts +0 -8
- package/locales/hi.d.ts +0 -8
- package/locales/hr.d.ts +0 -8
- package/locales/ht.d.ts +0 -8
- package/locales/hu.d.ts +0 -8
- package/locales/hy-am.d.ts +0 -8
- package/locales/id.d.ts +0 -8
- package/locales/is.d.ts +0 -8
- package/locales/it-ch.d.ts +0 -11
- package/locales/it.d.ts +0 -8
- package/locales/it.js +0 -3
- package/locales/jv.d.ts +0 -8
- package/locales/ka.d.ts +0 -8
- package/locales/kk.d.ts +0 -8
- package/locales/km.d.ts +0 -8
- package/locales/kn.d.ts +0 -8
- package/locales/ko.d.ts +0 -8
- package/locales/ku.d.ts +0 -8
- package/locales/ky.d.ts +0 -8
- package/locales/lb.d.ts +0 -8
- package/locales/lo.d.ts +0 -8
- package/locales/lt.d.ts +0 -8
- package/locales/lv.d.ts +0 -8
- package/locales/me.d.ts +0 -8
- package/locales/mi.d.ts +0 -8
- package/locales/mk.d.ts +0 -8
- package/locales/ml.d.ts +0 -8
- package/locales/mn.d.ts +0 -8
- package/locales/mr.d.ts +0 -8
- package/locales/ms-my.d.ts +0 -11
- package/locales/ms-my.js +0 -14
- package/locales/ms.d.ts +0 -8
- package/locales/ms.js +0 -3
- package/locales/mt.d.ts +0 -8
- package/locales/my.d.ts +0 -8
- package/locales/nb.d.ts +0 -8
- package/locales/ne.d.ts +0 -8
- package/locales/nl-be.d.ts +0 -11
- package/locales/nl-be.js +0 -18
- package/locales/nl.d.ts +0 -8
- package/locales/nl.js +0 -3
- package/locales/nn.d.ts +0 -8
- package/locales/oc-lnc.d.ts +0 -8
- package/locales/pa-in.d.ts +0 -8
- package/locales/pl.d.ts +0 -8
- package/locales/pt-br.d.ts +0 -11
- package/locales/pt.d.ts +0 -8
- package/locales/pt.js +0 -3
- package/locales/rn.d.ts +0 -8
- package/locales/ro.d.ts +0 -8
- package/locales/rw.d.ts +0 -8
- package/locales/sd.d.ts +0 -8
- package/locales/se.d.ts +0 -8
- package/locales/si.d.ts +0 -8
- package/locales/sk.d.ts +0 -8
- package/locales/sl.d.ts +0 -8
- package/locales/sq.d.ts +0 -8
- package/locales/sr-cyrl.d.ts +0 -11
- package/locales/sr.d.ts +0 -8
- package/locales/sr.js +0 -3
- package/locales/ss.d.ts +0 -8
- package/locales/sv-fi.d.ts +0 -11
- package/locales/sv.d.ts +0 -8
- package/locales/sv.js +0 -3
- package/locales/sw.d.ts +0 -8
- package/locales/ta.d.ts +0 -8
- package/locales/te.d.ts +0 -8
- package/locales/tet.d.ts +0 -8
- package/locales/tg.d.ts +0 -8
- package/locales/th.d.ts +0 -8
- package/locales/tk.d.ts +0 -8
- package/locales/tl-ph.d.ts +0 -8
- package/locales/tlh.d.ts +0 -8
- package/locales/tr.d.ts +0 -8
- package/locales/tzl.d.ts +0 -8
- package/locales/tzm-latn.d.ts +0 -11
- package/locales/tzm.d.ts +0 -8
- package/locales/tzm.js +0 -3
- package/locales/ug-cn.d.ts +0 -8
- package/locales/uk.d.ts +0 -8
- package/locales/ur.d.ts +0 -8
- package/locales/uz-latn.d.ts +0 -11
- package/locales/uz.d.ts +0 -8
- package/locales/uz.js +0 -3
- package/locales/vi.d.ts +0 -8
- package/locales/x-pseudo.d.ts +0 -8
- package/locales/yo.d.ts +0 -8
- package/locales/zh-cn.d.ts +0 -11
- package/locales/zh-cn.js +0 -14
- package/locales/zh-hk.d.ts +0 -11
- package/locales/zh-hk.js +0 -23
- package/locales/zh-mo.d.ts +0 -11
- package/locales/zh-mo.js +0 -23
- package/locales/zh-tw.d.ts +0 -11
- package/locales/zh-tw.js +0 -23
- package/locales/zh.js +0 -3
- package/plugins/advancedFormat/index.d.ts +0 -8
- package/plugins/advancedParse/index.d.ts +0 -8
- package/plugins/locale/index.d.ts +0 -4
- package/plugins/locale/index.js +0 -7
- package/plugins/localeData/index.d.ts +0 -8
- package/plugins/localizedFormat/index.d.ts +0 -8
- package/plugins/localizedParse/index.d.ts +0 -8
- package/plugins/objectSupport/index.d.ts +0 -8
- package/plugins/relativeTime/index.d.ts +0 -59
- package/plugins/relativeTime/index.js +0 -154
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { ar_default } from "../chunks/BeVgU2nj.js";
|
|
5
|
-
import "../chunks/tfkJ5D3p.js";
|
|
6
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import locale from "./ar.mjs";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ar-ma.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Arabic (Morocco) [ar-MA]
|
|
7
|
+
*/
|
|
8
|
+
const localeArMa = cloneLocale(locale);
|
|
10
9
|
const formats = structuredClone(localeArMa.formats);
|
|
11
10
|
formats.L = "DD/MM/YYYY";
|
|
12
11
|
formats.l = "DD/MM/YYYY";
|
|
@@ -23,7 +22,6 @@ setLocaleProperty(localeArMa, "weekStart", 1);
|
|
|
23
22
|
setLocaleProperty(localeArMa, "yearStart", 4);
|
|
24
23
|
setLocaleProperty(localeArMa, "formats", formats);
|
|
25
24
|
setLocaleProperty(localeArMa, "calendar", calendar);
|
|
26
|
-
var ar_ma_default = localeArMa;
|
|
27
25
|
|
|
28
26
|
//#endregion
|
|
29
|
-
export {
|
|
27
|
+
export { localeArMa as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { ar_default } from "../chunks/BeVgU2nj.js";
|
|
5
|
-
import "../chunks/tfkJ5D3p.js";
|
|
6
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import locale from "./ar.mjs";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ar-sa.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Arabic (Saudi Arabia) [ar-SA]
|
|
7
|
+
*/
|
|
8
|
+
const localeArSa = cloneLocale(locale);
|
|
10
9
|
const formats = structuredClone(localeArSa.formats);
|
|
11
10
|
formats.L = "DD/MM/YYYY";
|
|
12
11
|
formats.l = "DD/MM/YYYY";
|
|
@@ -23,7 +22,6 @@ setLocaleProperty(localeArSa, "weekStart", 0);
|
|
|
23
22
|
setLocaleProperty(localeArSa, "yearStart", 6);
|
|
24
23
|
setLocaleProperty(localeArSa, "formats", formats);
|
|
25
24
|
setLocaleProperty(localeArSa, "calendar", calendar);
|
|
26
|
-
var ar_sa_default = localeArSa;
|
|
27
25
|
|
|
28
26
|
//#endregion
|
|
29
|
-
export {
|
|
27
|
+
export { localeArSa as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "../
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import { ar_default } from "../chunks/BeVgU2nj.js";
|
|
5
|
-
import "../chunks/tfkJ5D3p.js";
|
|
6
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
1
|
+
import locale from "./ar.mjs";
|
|
2
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/ar-tn.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Arabic (Tunisia) [ar-TN]
|
|
7
|
+
*/
|
|
8
|
+
const localeArTn = cloneLocale(locale);
|
|
10
9
|
const formats = structuredClone(localeArTn.formats);
|
|
11
10
|
formats.L = "DD/MM/YYYY";
|
|
12
11
|
formats.l = "DD/MM/YYYY";
|
|
@@ -23,7 +22,6 @@ setLocaleProperty(localeArTn, "weekStart", 1);
|
|
|
23
22
|
setLocaleProperty(localeArTn, "yearStart", 4);
|
|
24
23
|
setLocaleProperty(localeArTn, "formats", formats);
|
|
25
24
|
setLocaleProperty(localeArTn, "calendar", calendar);
|
|
26
|
-
var ar_tn_default = localeArTn;
|
|
27
25
|
|
|
28
26
|
//#endregion
|
|
29
|
-
export {
|
|
27
|
+
export { localeArTn as default };
|
package/locales/ar.d.mts
ADDED
|
@@ -57,6 +57,14 @@ const plurals = {
|
|
|
57
57
|
"%d يومًا",
|
|
58
58
|
"%d يوم"
|
|
59
59
|
],
|
|
60
|
+
w: [
|
|
61
|
+
"أقل من اسبوع",
|
|
62
|
+
"أسبوع واحد",
|
|
63
|
+
["أسبوعان", "في أسبوعين"],
|
|
64
|
+
"%d أسابيع",
|
|
65
|
+
"%d أسبوعًا",
|
|
66
|
+
"%d أسبوع"
|
|
67
|
+
],
|
|
60
68
|
M: [
|
|
61
69
|
"أقل من شهر",
|
|
62
70
|
"شهر واحد",
|
|
@@ -139,6 +147,7 @@ const locale = {
|
|
|
139
147
|
"نوفمبر",
|
|
140
148
|
"ديسمبر"
|
|
141
149
|
],
|
|
150
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
142
151
|
ordinal: (n) => `${n}`,
|
|
143
152
|
weekStart: 6,
|
|
144
153
|
yearStart: 1,
|
|
@@ -173,6 +182,8 @@ const locale = {
|
|
|
173
182
|
hh: pluralize("h"),
|
|
174
183
|
d: pluralize("d"),
|
|
175
184
|
dd: pluralize("d"),
|
|
185
|
+
w: pluralize("w"),
|
|
186
|
+
ww: pluralize("w"),
|
|
176
187
|
M: pluralize("M"),
|
|
177
188
|
MM: pluralize("M"),
|
|
178
189
|
y: pluralize("y"),
|
|
@@ -182,7 +193,6 @@ const locale = {
|
|
|
182
193
|
preParse: (dateString) => dateString.replace(/[١٢٣٤٥٦٧٨٩٠]/g, (match) => arabicToEnglishNumbersMap[match]).replace(/،/g, ","),
|
|
183
194
|
postFormat: (formattedDate) => formattedDate.replace(/\d/g, (match) => englishToArabicNumbersMap[Number(match)]).replace(/,/g, "،")
|
|
184
195
|
};
|
|
185
|
-
var ar_default = locale;
|
|
186
196
|
|
|
187
197
|
//#endregion
|
|
188
|
-
export {
|
|
198
|
+
export { locale as default };
|
package/locales/az.d.mts
ADDED
package/locales/{az.js → az.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeAz = {
|
|
|
56
56
|
"noy",
|
|
57
57
|
"dek"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeAz = {
|
|
|
90
91
|
hh: "%d saat",
|
|
91
92
|
d: "bir gün",
|
|
92
93
|
dd: "%d gün",
|
|
94
|
+
w: "bir həftə",
|
|
95
|
+
ww: "%d gün",
|
|
93
96
|
M: "bir ay",
|
|
94
97
|
MM: "%d ay",
|
|
95
98
|
y: "bir il",
|
|
@@ -100,7 +103,6 @@ const localeAz = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var az_default = localeAz;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeAz as default };
|
package/locales/be.d.mts
ADDED
package/locales/{be.js → be.mjs}
RENAMED
|
@@ -1,62 +1,27 @@
|
|
|
1
1
|
//#region src/locales/be.ts
|
|
2
|
-
const dayNamesFormat = [
|
|
3
|
-
"нядзелю",
|
|
4
|
-
"панядзелак",
|
|
5
|
-
"аўторак",
|
|
6
|
-
"сераду",
|
|
7
|
-
"чацвер",
|
|
8
|
-
"пятніцу",
|
|
9
|
-
"суботу"
|
|
10
|
-
];
|
|
11
|
-
const dayNamesStandalone = [
|
|
12
|
-
"нядзеля",
|
|
13
|
-
"панядзелак",
|
|
14
|
-
"аўторак",
|
|
15
|
-
"серада",
|
|
16
|
-
"чацвер",
|
|
17
|
-
"пятніца",
|
|
18
|
-
"субота"
|
|
19
|
-
];
|
|
20
|
-
const weekdays = {
|
|
21
|
-
standalone: dayNamesStandalone,
|
|
22
|
-
format: dayNamesFormat,
|
|
23
|
-
isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/
|
|
24
|
-
};
|
|
25
|
-
const monthFormat = [
|
|
26
|
-
"студзеня",
|
|
27
|
-
"лютага",
|
|
28
|
-
"сакавіка",
|
|
29
|
-
"красавіка",
|
|
30
|
-
"траўня",
|
|
31
|
-
"чэрвеня",
|
|
32
|
-
"ліпеня",
|
|
33
|
-
"жніўня",
|
|
34
|
-
"верасня",
|
|
35
|
-
"кастрычніка",
|
|
36
|
-
"лістапада",
|
|
37
|
-
"снежня"
|
|
38
|
-
];
|
|
39
|
-
const monthStandalone = [
|
|
40
|
-
"студзень",
|
|
41
|
-
"люты",
|
|
42
|
-
"сакавік",
|
|
43
|
-
"красавік",
|
|
44
|
-
"травень",
|
|
45
|
-
"чэрвень",
|
|
46
|
-
"ліпень",
|
|
47
|
-
"жнівень",
|
|
48
|
-
"верасень",
|
|
49
|
-
"кастрычнік",
|
|
50
|
-
"лістапад",
|
|
51
|
-
"снежань"
|
|
52
|
-
];
|
|
53
|
-
const months = {
|
|
54
|
-
standalone: monthStandalone,
|
|
55
|
-
format: monthFormat
|
|
56
|
-
};
|
|
57
2
|
const localeBe = {
|
|
58
3
|
name: "be",
|
|
59
|
-
weekdays
|
|
4
|
+
weekdays: {
|
|
5
|
+
standalone: [
|
|
6
|
+
"нядзеля",
|
|
7
|
+
"панядзелак",
|
|
8
|
+
"аўторак",
|
|
9
|
+
"серада",
|
|
10
|
+
"чацвер",
|
|
11
|
+
"пятніца",
|
|
12
|
+
"субота"
|
|
13
|
+
],
|
|
14
|
+
format: [
|
|
15
|
+
"нядзелю",
|
|
16
|
+
"панядзелак",
|
|
17
|
+
"аўторак",
|
|
18
|
+
"сераду",
|
|
19
|
+
"чацвер",
|
|
20
|
+
"пятніцу",
|
|
21
|
+
"суботу"
|
|
22
|
+
],
|
|
23
|
+
isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/
|
|
24
|
+
},
|
|
60
25
|
weekdaysShort: [
|
|
61
26
|
"нд",
|
|
62
27
|
"пн",
|
|
@@ -75,7 +40,36 @@ const localeBe = {
|
|
|
75
40
|
"пт",
|
|
76
41
|
"сб"
|
|
77
42
|
],
|
|
78
|
-
months
|
|
43
|
+
months: {
|
|
44
|
+
standalone: [
|
|
45
|
+
"студзень",
|
|
46
|
+
"люты",
|
|
47
|
+
"сакавік",
|
|
48
|
+
"красавік",
|
|
49
|
+
"травень",
|
|
50
|
+
"чэрвень",
|
|
51
|
+
"ліпень",
|
|
52
|
+
"жнівень",
|
|
53
|
+
"верасень",
|
|
54
|
+
"кастрычнік",
|
|
55
|
+
"лістапад",
|
|
56
|
+
"снежань"
|
|
57
|
+
],
|
|
58
|
+
format: [
|
|
59
|
+
"студзеня",
|
|
60
|
+
"лютага",
|
|
61
|
+
"сакавіка",
|
|
62
|
+
"красавіка",
|
|
63
|
+
"траўня",
|
|
64
|
+
"чэрвеня",
|
|
65
|
+
"ліпеня",
|
|
66
|
+
"жніўня",
|
|
67
|
+
"верасня",
|
|
68
|
+
"кастрычніка",
|
|
69
|
+
"лістапада",
|
|
70
|
+
"снежня"
|
|
71
|
+
]
|
|
72
|
+
},
|
|
79
73
|
monthsShort: [
|
|
80
74
|
"студ",
|
|
81
75
|
"лют",
|
|
@@ -90,6 +84,7 @@ const localeBe = {
|
|
|
90
84
|
"ліст",
|
|
91
85
|
"снеж"
|
|
92
86
|
],
|
|
87
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
|
|
93
88
|
ordinal: (n) => `${n}`,
|
|
94
89
|
weekStart: 1,
|
|
95
90
|
yearStart: 4,
|
|
@@ -124,6 +119,8 @@ const localeBe = {
|
|
|
124
119
|
hh: "%d гадзін",
|
|
125
120
|
d: "дзень",
|
|
126
121
|
dd: "%d дзён",
|
|
122
|
+
w: "тыдзень",
|
|
123
|
+
ww: "%d тыдні",
|
|
127
124
|
M: "месяц",
|
|
128
125
|
MM: "%d месяцаў",
|
|
129
126
|
y: "год",
|
|
@@ -134,7 +131,6 @@ const localeBe = {
|
|
|
134
131
|
return isLowercase ? m.toLowerCase() : m;
|
|
135
132
|
}
|
|
136
133
|
};
|
|
137
|
-
var be_default = localeBe;
|
|
138
134
|
|
|
139
135
|
//#endregion
|
|
140
|
-
export {
|
|
136
|
+
export { localeBe as default };
|
package/locales/bg.d.mts
ADDED
package/locales/{bg.js → bg.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeBg = {
|
|
|
56
56
|
"ное",
|
|
57
57
|
"дек"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
|
|
59
60
|
ordinal: (n) => {
|
|
60
61
|
const last2Digits = n % 100;
|
|
61
62
|
if (last2Digits > 10 && last2Digits < 20) return `${n}-ти`;
|
|
@@ -109,6 +110,8 @@ const localeBg = {
|
|
|
109
110
|
hh: "%d часа",
|
|
110
111
|
d: "ден",
|
|
111
112
|
dd: "%d дена",
|
|
113
|
+
w: "седмица",
|
|
114
|
+
ww: "%d седмици",
|
|
112
115
|
M: "месец",
|
|
113
116
|
MM: "%d месеца",
|
|
114
117
|
y: "година",
|
|
@@ -119,7 +122,6 @@ const localeBg = {
|
|
|
119
122
|
return isLowercase ? m.toLowerCase() : m;
|
|
120
123
|
}
|
|
121
124
|
};
|
|
122
|
-
var bg_default = localeBg;
|
|
123
125
|
|
|
124
126
|
//#endregion
|
|
125
|
-
export {
|
|
127
|
+
export { localeBg as default };
|
package/locales/bi.d.mts
ADDED
package/locales/{bi.js → bi.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeBi = {
|
|
|
56
56
|
"Nov",
|
|
57
57
|
"Dis"
|
|
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 localeBi = {
|
|
|
90
91
|
hh: "%d haoa",
|
|
91
92
|
d: "wan dei",
|
|
92
93
|
dd: "%d dei",
|
|
94
|
+
w: "wan wik",
|
|
95
|
+
ww: "%d wik",
|
|
93
96
|
M: "wan manis",
|
|
94
97
|
MM: "%d manis",
|
|
95
98
|
y: "wan yia",
|
|
@@ -100,7 +103,6 @@ const localeBi = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var bi_default = localeBi;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeBi as default };
|
package/locales/bm.d.mts
ADDED
package/locales/{bm.js → bm.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeBm = {
|
|
|
56
56
|
"Now",
|
|
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 localeBm = {
|
|
|
90
91
|
hh: "lɛrɛ %d",
|
|
91
92
|
d: "tile kelen",
|
|
92
93
|
dd: "tile %d",
|
|
94
|
+
w: "dɔgɔkun kelen",
|
|
95
|
+
ww: "dɔgɔkunw %d",
|
|
93
96
|
M: "kalo kelen",
|
|
94
97
|
MM: "kalo %d",
|
|
95
98
|
y: "san kelen",
|
|
@@ -100,7 +103,6 @@ const localeBm = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var bm_default = localeBm;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeBm as default };
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { bn_default } from "../chunks/GjKpN6U-.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
2
|
+
import localeBn from "./bn.mjs";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/bn-bd.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Bengali (Bangladesh) [bn-BD]
|
|
7
|
+
*/
|
|
8
|
+
const localeBnBd = cloneLocale(localeBn);
|
|
10
9
|
function meridiem(hour, _minute, _isLowercase) {
|
|
11
10
|
if (hour < 4) return "রাত";
|
|
12
11
|
if (hour < 6) return "ভোর";
|
|
@@ -18,7 +17,6 @@ function meridiem(hour, _minute, _isLowercase) {
|
|
|
18
17
|
}
|
|
19
18
|
setLocaleProperty(localeBnBd, "name", "bn-BD");
|
|
20
19
|
setLocaleProperty(localeBnBd, "meridiem", meridiem);
|
|
21
|
-
var bn_bd_default = localeBnBd;
|
|
22
20
|
|
|
23
21
|
//#endregion
|
|
24
|
-
export {
|
|
22
|
+
export { localeBnBd as default };
|
package/locales/bn.d.mts
ADDED
|
@@ -80,6 +80,7 @@ const localeBn = {
|
|
|
80
80
|
"নভে",
|
|
81
81
|
"ডিসে"
|
|
82
82
|
],
|
|
83
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
83
84
|
ordinal: (n) => `${n}`,
|
|
84
85
|
weekStart: 0,
|
|
85
86
|
yearStart: 1,
|
|
@@ -114,6 +115,8 @@ const localeBn = {
|
|
|
114
115
|
hh: "%d ঘন্টা",
|
|
115
116
|
d: "এক দিন",
|
|
116
117
|
dd: "%d দিন",
|
|
118
|
+
w: "প্রতি সপ্তাহে",
|
|
119
|
+
ww: "%d সপ্তাহ",
|
|
117
120
|
M: "এক মাস",
|
|
118
121
|
MM: "%d মাস",
|
|
119
122
|
y: "এক বছর",
|
|
@@ -129,7 +132,6 @@ const localeBn = {
|
|
|
129
132
|
preParse: (string) => string.replace(/[১২৩৪৫৬৭৮৯০]/g, (match) => bengaliToEnglishNumbersMap[match]),
|
|
130
133
|
postFormat: (string) => string.replace(/\d/g, (match) => englishToBengaliNumbersMap[match])
|
|
131
134
|
};
|
|
132
|
-
var bn_default = localeBn;
|
|
133
135
|
|
|
134
136
|
//#endregion
|
|
135
|
-
export {
|
|
137
|
+
export { localeBn as default };
|
package/locales/bo.d.mts
ADDED
package/locales/{bo.js → bo.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeBo = {
|
|
|
56
56
|
"ཟླ་བཅུ་གཅིག་པ",
|
|
57
57
|
"ཟླ་བཅུ་གཉིས་པ"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeBo = {
|
|
|
90
91
|
hh: "ཆུ་ཚོད་ %d",
|
|
91
92
|
d: "ཉིན་གཅིག་",
|
|
92
93
|
dd: "ཉིན་ %d",
|
|
94
|
+
w: "གཟའ་འཁོར་གཅིག།",
|
|
95
|
+
ww: "བདུན་ཕྲག %d",
|
|
93
96
|
M: "ཟླ་བ་གཅིག་",
|
|
94
97
|
MM: "ཟླ་བ་ %d",
|
|
95
98
|
y: "ལོ་གཅིག་",
|
|
@@ -100,7 +103,6 @@ const localeBo = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var bo_default = localeBo;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeBo as default };
|
package/locales/br.d.mts
ADDED
package/locales/{br.js → br.mjs}
RENAMED
|
@@ -4,27 +4,24 @@ function lastNumber(timeValue) {
|
|
|
4
4
|
return timeValue;
|
|
5
5
|
}
|
|
6
6
|
function softMutation(text) {
|
|
7
|
-
|
|
7
|
+
return {
|
|
8
8
|
m: "v",
|
|
9
9
|
b: "v",
|
|
10
10
|
d: "z"
|
|
11
|
-
};
|
|
12
|
-
return mutationTable[text.charAt(0)] + text.substring(1);
|
|
11
|
+
}[text.charAt(0)] + text.substring(1);
|
|
13
12
|
}
|
|
14
13
|
function mutation(text, timeValue) {
|
|
15
14
|
if (timeValue === 2) return softMutation(text);
|
|
16
15
|
return text;
|
|
17
16
|
}
|
|
18
17
|
function relativeTimeWithMutation(timeValue, _withoutSuffix, key) {
|
|
19
|
-
|
|
18
|
+
return `${timeValue} ${mutation({
|
|
20
19
|
mm: "munutenn",
|
|
21
20
|
MM: "miz",
|
|
22
21
|
dd: "devezh"
|
|
23
|
-
}
|
|
24
|
-
return `${timeValue} ${mutation(format[key], timeValue)}`;
|
|
22
|
+
}[key], timeValue)}`;
|
|
25
23
|
}
|
|
26
24
|
function specialMutationForYears(number) {
|
|
27
|
-
/* istanbul ignore next line */
|
|
28
25
|
switch (lastNumber(number)) {
|
|
29
26
|
case 1:
|
|
30
27
|
case 3:
|
|
@@ -43,6 +40,8 @@ const relativeTimeFormatStrings = {
|
|
|
43
40
|
hh: "%d eur",
|
|
44
41
|
d: "un devezh",
|
|
45
42
|
dd: relativeTimeWithMutation,
|
|
43
|
+
w: "ur sizhun",
|
|
44
|
+
ww: "%d izhun",
|
|
46
45
|
M: "ur miz",
|
|
47
46
|
MM: relativeTimeWithMutation,
|
|
48
47
|
y: "ur bloaz",
|
|
@@ -110,6 +109,7 @@ const localeBr = {
|
|
|
110
109
|
"Du",
|
|
111
110
|
"Ker"
|
|
112
111
|
],
|
|
112
|
+
dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
|
|
113
113
|
ordinal: (n) => `${n}`,
|
|
114
114
|
weekStart: 1,
|
|
115
115
|
yearStart: 4,
|
|
@@ -166,6 +166,8 @@ const localeBr = {
|
|
|
166
166
|
hh: relativeTimeFormatter,
|
|
167
167
|
d: relativeTimeFormatter,
|
|
168
168
|
dd: relativeTimeFormatter,
|
|
169
|
+
w: relativeTimeFormatter,
|
|
170
|
+
ww: relativeTimeFormatter,
|
|
169
171
|
M: relativeTimeFormatter,
|
|
170
172
|
MM: relativeTimeFormatter,
|
|
171
173
|
y: relativeTimeFormatter,
|
|
@@ -173,7 +175,6 @@ const localeBr = {
|
|
|
173
175
|
},
|
|
174
176
|
meridiem: (hour, _minute, _isLowercase) => hour < 12 ? "a.m." : "g.m."
|
|
175
177
|
};
|
|
176
|
-
var br_default = localeBr;
|
|
177
178
|
|
|
178
179
|
//#endregion
|
|
179
|
-
export {
|
|
180
|
+
export { localeBr as default };
|
package/locales/bs.d.mts
ADDED
package/locales/{bs.js → bs.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeBs = {
|
|
|
56
56
|
"pe",
|
|
57
57
|
"su"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -112,6 +113,8 @@ const localeBs = {
|
|
|
112
113
|
hh: "%d sati",
|
|
113
114
|
d: "dan",
|
|
114
115
|
dd: "%d dana",
|
|
116
|
+
w: "sedmica",
|
|
117
|
+
ww: "%d sedmice",
|
|
115
118
|
M: "mjesec",
|
|
116
119
|
MM: "%d mjeseci",
|
|
117
120
|
y: "godina",
|
|
@@ -122,7 +125,6 @@ const localeBs = {
|
|
|
122
125
|
return isLowercase ? m.toLowerCase() : m;
|
|
123
126
|
}
|
|
124
127
|
};
|
|
125
|
-
var bs_default = localeBs;
|
|
126
128
|
|
|
127
129
|
//#endregion
|
|
128
|
-
export {
|
|
130
|
+
export { localeBs as default };
|