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
package/locales/{ru.js → ru.mjs}
RENAMED
|
@@ -1,90 +1,84 @@
|
|
|
1
1
|
//#region src/locales/ru.ts
|
|
2
|
-
const dayNamesFormat = [
|
|
3
|
-
"воскресенье",
|
|
4
|
-
"понедельник",
|
|
5
|
-
"вторник",
|
|
6
|
-
"среду",
|
|
7
|
-
"четверг",
|
|
8
|
-
"пятницу",
|
|
9
|
-
"субботу"
|
|
10
|
-
];
|
|
11
|
-
const dayNamesStandalone = [
|
|
12
|
-
"воскресенье",
|
|
13
|
-
"понедельник",
|
|
14
|
-
"вторник",
|
|
15
|
-
"среда",
|
|
16
|
-
"четверг",
|
|
17
|
-
"пятница",
|
|
18
|
-
"суббота"
|
|
19
|
-
];
|
|
20
2
|
const weekdays = {
|
|
21
|
-
standalone:
|
|
22
|
-
|
|
3
|
+
standalone: [
|
|
4
|
+
"воскресенье",
|
|
5
|
+
"понедельник",
|
|
6
|
+
"вторник",
|
|
7
|
+
"среда",
|
|
8
|
+
"четверг",
|
|
9
|
+
"пятница",
|
|
10
|
+
"суббота"
|
|
11
|
+
],
|
|
12
|
+
format: [
|
|
13
|
+
"воскресенье",
|
|
14
|
+
"понедельник",
|
|
15
|
+
"вторник",
|
|
16
|
+
"среду",
|
|
17
|
+
"четверг",
|
|
18
|
+
"пятницу",
|
|
19
|
+
"субботу"
|
|
20
|
+
],
|
|
23
21
|
isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/
|
|
24
22
|
};
|
|
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
23
|
const months = {
|
|
54
|
-
standalone:
|
|
55
|
-
|
|
24
|
+
standalone: [
|
|
25
|
+
"январь",
|
|
26
|
+
"февраль",
|
|
27
|
+
"март",
|
|
28
|
+
"апрель",
|
|
29
|
+
"май",
|
|
30
|
+
"июнь",
|
|
31
|
+
"июль",
|
|
32
|
+
"август",
|
|
33
|
+
"сентябрь",
|
|
34
|
+
"октябрь",
|
|
35
|
+
"ноябрь",
|
|
36
|
+
"декабрь"
|
|
37
|
+
],
|
|
38
|
+
format: [
|
|
39
|
+
"января",
|
|
40
|
+
"февраля",
|
|
41
|
+
"марта",
|
|
42
|
+
"апреля",
|
|
43
|
+
"мая",
|
|
44
|
+
"июня",
|
|
45
|
+
"июля",
|
|
46
|
+
"августа",
|
|
47
|
+
"сентября",
|
|
48
|
+
"октября",
|
|
49
|
+
"ноября",
|
|
50
|
+
"декабря"
|
|
51
|
+
]
|
|
56
52
|
};
|
|
57
|
-
const monthShortFormat = [
|
|
58
|
-
"янв.",
|
|
59
|
-
"февр.",
|
|
60
|
-
"мар.",
|
|
61
|
-
"апр.",
|
|
62
|
-
"мая",
|
|
63
|
-
"июня",
|
|
64
|
-
"июля",
|
|
65
|
-
"авг.",
|
|
66
|
-
"сент.",
|
|
67
|
-
"окт.",
|
|
68
|
-
"нояб.",
|
|
69
|
-
"дек."
|
|
70
|
-
];
|
|
71
|
-
const monthShortStandalone = [
|
|
72
|
-
"янв.",
|
|
73
|
-
"февр.",
|
|
74
|
-
"март",
|
|
75
|
-
"апр.",
|
|
76
|
-
"май",
|
|
77
|
-
"июнь",
|
|
78
|
-
"июль",
|
|
79
|
-
"авг.",
|
|
80
|
-
"сент.",
|
|
81
|
-
"окт.",
|
|
82
|
-
"нояб.",
|
|
83
|
-
"дек."
|
|
84
|
-
];
|
|
85
53
|
const monthsShort = {
|
|
86
|
-
standalone:
|
|
87
|
-
|
|
54
|
+
standalone: [
|
|
55
|
+
"янв.",
|
|
56
|
+
"февр.",
|
|
57
|
+
"март",
|
|
58
|
+
"апр.",
|
|
59
|
+
"май",
|
|
60
|
+
"июнь",
|
|
61
|
+
"июль",
|
|
62
|
+
"авг.",
|
|
63
|
+
"сент.",
|
|
64
|
+
"окт.",
|
|
65
|
+
"нояб.",
|
|
66
|
+
"дек."
|
|
67
|
+
],
|
|
68
|
+
format: [
|
|
69
|
+
"янв.",
|
|
70
|
+
"февр.",
|
|
71
|
+
"мар.",
|
|
72
|
+
"апр.",
|
|
73
|
+
"мая",
|
|
74
|
+
"июня",
|
|
75
|
+
"июля",
|
|
76
|
+
"авг.",
|
|
77
|
+
"сент.",
|
|
78
|
+
"окт.",
|
|
79
|
+
"нояб.",
|
|
80
|
+
"дек."
|
|
81
|
+
]
|
|
88
82
|
};
|
|
89
83
|
const calendar = {
|
|
90
84
|
sameDay: "[Сегодня, в] LT",
|
|
@@ -154,6 +148,11 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, _isFuture) => {
|
|
|
154
148
|
"дня",
|
|
155
149
|
"дней"
|
|
156
150
|
],
|
|
151
|
+
ww: [
|
|
152
|
+
"неделя",
|
|
153
|
+
"недели",
|
|
154
|
+
"недель"
|
|
155
|
+
],
|
|
157
156
|
MM: [
|
|
158
157
|
"месяц",
|
|
159
158
|
"месяца",
|
|
@@ -191,6 +190,7 @@ const localeRu = {
|
|
|
191
190
|
],
|
|
192
191
|
months,
|
|
193
192
|
monthsShort,
|
|
193
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
|
|
194
194
|
ordinal: (n) => `${n}`,
|
|
195
195
|
weekStart: 1,
|
|
196
196
|
yearStart: 4,
|
|
@@ -218,6 +218,8 @@ const localeRu = {
|
|
|
218
218
|
hh: relativeTimeFormatter,
|
|
219
219
|
d: "день",
|
|
220
220
|
dd: relativeTimeFormatter,
|
|
221
|
+
w: "неделя",
|
|
222
|
+
ww: relativeTimeFormatter,
|
|
221
223
|
M: "месяц",
|
|
222
224
|
MM: relativeTimeFormatter,
|
|
223
225
|
y: "год",
|
|
@@ -230,7 +232,6 @@ const localeRu = {
|
|
|
230
232
|
return "вечера";
|
|
231
233
|
}
|
|
232
234
|
};
|
|
233
|
-
var ru_default = localeRu;
|
|
234
235
|
|
|
235
236
|
//#endregion
|
|
236
|
-
export {
|
|
237
|
+
export { localeRu as default };
|
package/locales/rw.d.mts
ADDED
package/locales/{rw.js → rw.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeRw = {
|
|
|
56
56
|
"Ugushyingo",
|
|
57
57
|
"Ukuboza"
|
|
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 localeRw = {
|
|
|
90
91
|
hh: "%d amasaha",
|
|
91
92
|
d: "Umunsi",
|
|
92
93
|
dd: "%d iminsi",
|
|
94
|
+
w: "icyumweru",
|
|
95
|
+
ww: "%d ibyumweru",
|
|
93
96
|
M: "ukwezi",
|
|
94
97
|
MM: "%d amezi",
|
|
95
98
|
y: "umwaka",
|
|
@@ -100,7 +103,6 @@ const localeRw = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var rw_default = localeRw;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeRw as default };
|
package/locales/sd.d.mts
ADDED
package/locales/{sd.js → sd.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeSd = {
|
|
|
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 localeSd = {
|
|
|
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 localeSd = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var sd_default = localeSd;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeSd as default };
|
package/locales/se.d.mts
ADDED
package/locales/{se.js → se.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeSe = {
|
|
|
56
56
|
"skáb",
|
|
57
57
|
"juov"
|
|
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 localeSe = {
|
|
|
90
91
|
hh: "%d diimmut",
|
|
91
92
|
d: "okta beaivi",
|
|
92
93
|
dd: "%d beaivvit",
|
|
94
|
+
w: "okta vahkku",
|
|
95
|
+
ww: "%d vahkkut",
|
|
93
96
|
M: "okta mánnu",
|
|
94
97
|
MM: "%d mánut",
|
|
95
98
|
y: "okta jahki",
|
|
@@ -100,7 +103,6 @@ const localeSe = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var se_default = localeSe;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeSe as default };
|
package/locales/si.d.mts
ADDED
package/locales/{si.js → si.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeSi = {
|
|
|
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 localeSi = {
|
|
|
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 localeSi = {
|
|
|
100
103
|
return isLowercase ? "පෙ.ව." : "පෙර වරු";
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var si_default = localeSi;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeSi as default };
|
package/locales/sk.d.mts
ADDED
package/locales/{sk.js → sk.mjs}
RENAMED
|
@@ -51,6 +51,10 @@ const relativeTimeWithPlural = (timeValue, withoutSuffix, range, isFuture) => {
|
|
|
51
51
|
case "dd":
|
|
52
52
|
if (withoutSuffix || isFuture) return result + (usePlural(+timeValue) ? "dni" : "dní");
|
|
53
53
|
return `${result}dňami`;
|
|
54
|
+
case "w": return withoutSuffix || isFuture ? "týždeň" : "týždňom";
|
|
55
|
+
case "ww":
|
|
56
|
+
if (withoutSuffix || isFuture) return result + (usePlural(+timeValue) ? "týždňov" : "týždňov");
|
|
57
|
+
return `${result}týždňami`;
|
|
54
58
|
case "M": return withoutSuffix || isFuture ? "mesiac" : "mesiacom";
|
|
55
59
|
case "MM":
|
|
56
60
|
if (withoutSuffix || isFuture) return result + (usePlural(+timeValue) ? "mesiace" : "mesiacov");
|
|
@@ -119,6 +123,7 @@ const localeSk = {
|
|
|
119
123
|
"nov",
|
|
120
124
|
"dec"
|
|
121
125
|
],
|
|
126
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
122
127
|
ordinal: (n) => `${n}.`,
|
|
123
128
|
weekStart: 1,
|
|
124
129
|
yearStart: 4,
|
|
@@ -146,6 +151,8 @@ const localeSk = {
|
|
|
146
151
|
hh: relativeTimeWithPlural,
|
|
147
152
|
d: relativeTimeWithPlural,
|
|
148
153
|
dd: relativeTimeWithPlural,
|
|
154
|
+
w: relativeTimeWithPlural,
|
|
155
|
+
ww: relativeTimeWithPlural,
|
|
149
156
|
M: relativeTimeWithPlural,
|
|
150
157
|
MM: relativeTimeWithPlural,
|
|
151
158
|
y: relativeTimeWithPlural,
|
|
@@ -156,7 +163,6 @@ const localeSk = {
|
|
|
156
163
|
return isLowercase ? m.toLowerCase() : m;
|
|
157
164
|
}
|
|
158
165
|
};
|
|
159
|
-
var sk_default = localeSk;
|
|
160
166
|
|
|
161
167
|
//#endregion
|
|
162
|
-
export {
|
|
168
|
+
export { localeSk as default };
|
package/locales/sl.d.mts
ADDED
package/locales/{sl.js → sl.mjs}
RENAMED
|
@@ -58,6 +58,10 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
58
58
|
case "dd":
|
|
59
59
|
if (dual(+timeValue)) return `${result}${withoutSuffix || isFuture ? "dneva" : "dnevoma"}`;
|
|
60
60
|
return result + (withoutSuffix || isFuture ? "dni" : "dnevi");
|
|
61
|
+
case "w": return withoutSuffix || isFuture ? "en teden" : "enem tednu";
|
|
62
|
+
case "ww":
|
|
63
|
+
if (dual(+timeValue)) return `${result}${withoutSuffix || isFuture ? "tedna" : "tednoma"}`;
|
|
64
|
+
return result + (withoutSuffix || isFuture ? "tednih" : "tedni");
|
|
61
65
|
case "M": return withoutSuffix || isFuture ? "en mesec" : "enim mesecem";
|
|
62
66
|
case "MM":
|
|
63
67
|
if (dual(+timeValue)) return `${result}${withoutSuffix || isFuture ? "meseca" : "mesecema"}`;
|
|
@@ -128,6 +132,7 @@ const localeSl = {
|
|
|
128
132
|
"nov.",
|
|
129
133
|
"dec."
|
|
130
134
|
],
|
|
135
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
131
136
|
ordinal: (n) => `${n}.`,
|
|
132
137
|
weekStart: 1,
|
|
133
138
|
yearStart: 1,
|
|
@@ -155,6 +160,8 @@ const localeSl = {
|
|
|
155
160
|
hh: relativeTimeFormatter,
|
|
156
161
|
d: relativeTimeFormatter,
|
|
157
162
|
dd: relativeTimeFormatter,
|
|
163
|
+
w: relativeTimeFormatter,
|
|
164
|
+
ww: relativeTimeFormatter,
|
|
158
165
|
M: relativeTimeFormatter,
|
|
159
166
|
MM: relativeTimeFormatter,
|
|
160
167
|
y: relativeTimeFormatter,
|
|
@@ -165,7 +172,6 @@ const localeSl = {
|
|
|
165
172
|
return isLowercase ? m.toLowerCase() : m;
|
|
166
173
|
}
|
|
167
174
|
};
|
|
168
|
-
var sl_default = localeSl;
|
|
169
175
|
|
|
170
176
|
//#endregion
|
|
171
|
-
export {
|
|
177
|
+
export { localeSl as default };
|
package/locales/sq.d.mts
ADDED
package/locales/{sq.js → sq.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeSq = {
|
|
|
56
56
|
"Nën",
|
|
57
57
|
"Dhj"
|
|
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 localeSq = {
|
|
|
90
91
|
hh: "%d orë",
|
|
91
92
|
d: "një ditë",
|
|
92
93
|
dd: "%d ditë",
|
|
94
|
+
w: "një javë",
|
|
95
|
+
ww: "%d javë",
|
|
93
96
|
M: "një muaj",
|
|
94
97
|
MM: "%d muaj",
|
|
95
98
|
y: "një vit",
|
|
@@ -100,7 +103,6 @@ const localeSq = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var sq_default = localeSq;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeSq as default };
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { sr_default } from "../chunks/Cg4ZI9v8.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
2
|
+
import localeSr from "./sr.mjs";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/sr-cyrl.ts
|
|
9
|
-
const localeSrCyrl = cloneLocale(
|
|
5
|
+
const localeSrCyrl = cloneLocale(localeSr);
|
|
10
6
|
const weekdays = [
|
|
11
7
|
"Недеља",
|
|
12
8
|
"Понедељак",
|
|
@@ -79,7 +75,7 @@ const calendar = {
|
|
|
79
75
|
},
|
|
80
76
|
lastDay: "[јуче у] LT",
|
|
81
77
|
lastWeek() {
|
|
82
|
-
|
|
78
|
+
return [
|
|
83
79
|
"[прошле] [недеље] [у] LT",
|
|
84
80
|
"[прошлог] [понедељка] [у] LT",
|
|
85
81
|
"[прошлог] [уторка] [у] LT",
|
|
@@ -87,8 +83,7 @@ const calendar = {
|
|
|
87
83
|
"[прошлог] [четвртка] [у] LT",
|
|
88
84
|
"[прошлог] [петка] [у] LT",
|
|
89
85
|
"[прошле] [суботе] [у] LT"
|
|
90
|
-
];
|
|
91
|
-
return lastWeekDays[this.day()];
|
|
86
|
+
][this.day()];
|
|
92
87
|
},
|
|
93
88
|
sameElse: "L"
|
|
94
89
|
};
|
|
@@ -97,7 +92,7 @@ function plural(timeValue, wordKey) {
|
|
|
97
92
|
return wordKey[2];
|
|
98
93
|
}
|
|
99
94
|
const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
100
|
-
const
|
|
95
|
+
const wordKey = {
|
|
101
96
|
ss: [
|
|
102
97
|
"%d секунди",
|
|
103
98
|
"%d секунде",
|
|
@@ -121,6 +116,12 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
121
116
|
"%d дана",
|
|
122
117
|
"%d дана"
|
|
123
118
|
],
|
|
119
|
+
w: ["један недељу", "једног недеља"],
|
|
120
|
+
ww: [
|
|
121
|
+
"%d недељу",
|
|
122
|
+
"%d недеља",
|
|
123
|
+
"%d недеља"
|
|
124
|
+
],
|
|
124
125
|
M: ["један месец", "једног месеца"],
|
|
125
126
|
MM: [
|
|
126
127
|
"%d месец",
|
|
@@ -133,8 +134,7 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
133
134
|
"%d године",
|
|
134
135
|
"%d година"
|
|
135
136
|
]
|
|
136
|
-
};
|
|
137
|
-
const wordKey = formats[token];
|
|
137
|
+
}[token];
|
|
138
138
|
if (token.length === 1) {
|
|
139
139
|
if (token === "y" && withoutSuffix) return "једна година";
|
|
140
140
|
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
|
|
@@ -154,6 +154,8 @@ const relativeTime = {
|
|
|
154
154
|
hh: relativeTimeFormatter,
|
|
155
155
|
d: relativeTimeFormatter,
|
|
156
156
|
dd: relativeTimeFormatter,
|
|
157
|
+
w: relativeTimeFormatter,
|
|
158
|
+
ww: relativeTimeFormatter,
|
|
157
159
|
M: relativeTimeFormatter,
|
|
158
160
|
MM: relativeTimeFormatter,
|
|
159
161
|
y: relativeTimeFormatter,
|
|
@@ -167,7 +169,6 @@ setLocaleProperty(localeSrCyrl, "months", months);
|
|
|
167
169
|
setLocaleProperty(localeSrCyrl, "monthsShort", monthsShort);
|
|
168
170
|
setLocaleProperty(localeSrCyrl, "calendar", calendar);
|
|
169
171
|
setLocaleProperty(localeSrCyrl, "relativeTime", relativeTime);
|
|
170
|
-
var sr_cyrl_default = localeSrCyrl;
|
|
171
172
|
|
|
172
173
|
//#endregion
|
|
173
|
-
export {
|
|
174
|
+
export { localeSrCyrl as default };
|
package/locales/sr.d.mts
ADDED
|
@@ -16,7 +16,7 @@ const calendar = {
|
|
|
16
16
|
},
|
|
17
17
|
lastDay: "[juče u] LT",
|
|
18
18
|
lastWeek() {
|
|
19
|
-
|
|
19
|
+
return [
|
|
20
20
|
"[prošle] [nedelje] [u] LT",
|
|
21
21
|
"[prošlog] [ponedeljka] [u] LT",
|
|
22
22
|
"[prošlog] [utorka] [u] LT",
|
|
@@ -24,8 +24,7 @@ const calendar = {
|
|
|
24
24
|
"[prošlog] [četvrtka] [u] LT",
|
|
25
25
|
"[prošlog] [petka] [u] LT",
|
|
26
26
|
"[prošle] [subote] [u] LT"
|
|
27
|
-
];
|
|
28
|
-
return lastWeekDays[this.day()];
|
|
27
|
+
][this.day()];
|
|
29
28
|
},
|
|
30
29
|
sameElse: "L"
|
|
31
30
|
};
|
|
@@ -34,7 +33,7 @@ function plural(timeValue, formats) {
|
|
|
34
33
|
return formats[2];
|
|
35
34
|
}
|
|
36
35
|
const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
37
|
-
const
|
|
36
|
+
const formatsForToken = {
|
|
38
37
|
ss: [
|
|
39
38
|
"sekunda",
|
|
40
39
|
"sekunde",
|
|
@@ -58,6 +57,12 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
58
57
|
"%d dana",
|
|
59
58
|
"%d dana"
|
|
60
59
|
],
|
|
60
|
+
w: ["јedan nedeљu", "јednoq nedeљa"],
|
|
61
|
+
ww: [
|
|
62
|
+
"%d dan",
|
|
63
|
+
"%d dana",
|
|
64
|
+
"%d dana"
|
|
65
|
+
],
|
|
61
66
|
M: ["jedan mesec", "jednog meseca"],
|
|
62
67
|
MM: [
|
|
63
68
|
"%d mesec",
|
|
@@ -70,8 +75,7 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, isFuture) => {
|
|
|
70
75
|
"%d godine",
|
|
71
76
|
"%d godina"
|
|
72
77
|
]
|
|
73
|
-
};
|
|
74
|
-
const formatsForToken = formatsAll[token];
|
|
78
|
+
}[token];
|
|
75
79
|
if (token.length === 1) {
|
|
76
80
|
if (token === "y" && withoutSuffix) return "jedna godina";
|
|
77
81
|
return isFuture || withoutSuffix ? formatsForToken[0] : formatsForToken[1];
|
|
@@ -137,6 +141,7 @@ const localeSr = {
|
|
|
137
141
|
"Nov.",
|
|
138
142
|
"Dec."
|
|
139
143
|
],
|
|
144
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
140
145
|
ordinal: (n) => `${n}.`,
|
|
141
146
|
weekStart: 1,
|
|
142
147
|
yearStart: 1,
|
|
@@ -164,6 +169,8 @@ const localeSr = {
|
|
|
164
169
|
hh: relativeTimeFormatter,
|
|
165
170
|
d: relativeTimeFormatter,
|
|
166
171
|
dd: relativeTimeFormatter,
|
|
172
|
+
w: relativeTimeFormatter,
|
|
173
|
+
ww: relativeTimeFormatter,
|
|
167
174
|
M: relativeTimeFormatter,
|
|
168
175
|
MM: relativeTimeFormatter,
|
|
169
176
|
y: relativeTimeFormatter,
|
|
@@ -174,7 +181,6 @@ const localeSr = {
|
|
|
174
181
|
return isLowercase ? m.toLowerCase() : m;
|
|
175
182
|
}
|
|
176
183
|
};
|
|
177
|
-
var sr_default = localeSr;
|
|
178
184
|
|
|
179
185
|
//#endregion
|
|
180
|
-
export {
|
|
186
|
+
export { localeSr as default };
|
package/locales/ss.d.mts
ADDED
package/locales/{ss.js → ss.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeSs = {
|
|
|
56
56
|
"Lwe",
|
|
57
57
|
"Igo"
|
|
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 localeSs = {
|
|
|
90
91
|
hh: "%d emahora",
|
|
91
92
|
d: "lilanga",
|
|
92
93
|
dd: "%d emalanga",
|
|
94
|
+
w: "linye",
|
|
95
|
+
ww: "%d emaviki",
|
|
93
96
|
M: "inyanga",
|
|
94
97
|
MM: "%d tinyanga",
|
|
95
98
|
y: "umnyaka",
|
|
@@ -102,7 +105,6 @@ const localeSs = {
|
|
|
102
105
|
return "ebusuku";
|
|
103
106
|
}
|
|
104
107
|
};
|
|
105
|
-
var ss_default = localeSs;
|
|
106
108
|
|
|
107
109
|
//#endregion
|
|
108
|
-
export {
|
|
110
|
+
export { localeSs as default };
|