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
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
2
|
+
import localeFr from "./fr.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/fr-ca.ts
|
|
5
|
+
/**
|
|
6
|
+
* French (Canada) [fr-CA]
|
|
7
|
+
*/
|
|
8
|
+
const localeFrCa = cloneLocale(localeFr);
|
|
9
|
+
const formats = structuredClone(localeFrCa.formats);
|
|
10
|
+
formats.L = "YYYY-MM-DD";
|
|
11
|
+
formats.l = "YYYY-MM-DD";
|
|
12
|
+
setLocaleProperty(localeFrCa, "name", "fr-CA");
|
|
13
|
+
setLocaleProperty(localeFrCa, "formats", formats);
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { localeFrCa as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
2
|
+
import localeFr from "./fr.mjs";
|
|
3
|
+
|
|
4
|
+
//#region src/locales/fr-ch.ts
|
|
5
|
+
/**
|
|
6
|
+
* French (Switzerland) [fr-CH]
|
|
7
|
+
*/
|
|
8
|
+
const localeFrCh = cloneLocale(localeFr);
|
|
9
|
+
const formats = structuredClone(localeFrCh.formats);
|
|
10
|
+
formats.L = "DD.MM.YYYY";
|
|
11
|
+
formats.l = "DD.MM.YYYY";
|
|
12
|
+
setLocaleProperty(localeFrCh, "name", "fr-CH");
|
|
13
|
+
setLocaleProperty(localeFrCh, "formats", formats);
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { localeFrCh as default };
|
package/locales/fr.d.mts
ADDED
|
@@ -56,9 +56,9 @@ const localeFr = {
|
|
|
56
56
|
"nov.",
|
|
57
57
|
"déc."
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
|
|
59
60
|
ordinal: (n) => {
|
|
60
|
-
|
|
61
|
-
return `${n}${o}`;
|
|
61
|
+
return `${n}${n === 1 ? "er" : ""}`;
|
|
62
62
|
},
|
|
63
63
|
weekStart: 1,
|
|
64
64
|
yearStart: 4,
|
|
@@ -93,6 +93,8 @@ const localeFr = {
|
|
|
93
93
|
hh: "%d heures",
|
|
94
94
|
d: "un jour",
|
|
95
95
|
dd: "%d jours",
|
|
96
|
+
w: "une semaine",
|
|
97
|
+
ww: "%d semaines",
|
|
96
98
|
M: "un mois",
|
|
97
99
|
MM: "%d mois",
|
|
98
100
|
y: "un an",
|
|
@@ -103,7 +105,6 @@ const localeFr = {
|
|
|
103
105
|
return isLowercase ? m.toLowerCase() : m;
|
|
104
106
|
}
|
|
105
107
|
};
|
|
106
|
-
var fr_default = localeFr;
|
|
107
108
|
|
|
108
109
|
//#endregion
|
|
109
|
-
export {
|
|
110
|
+
export { localeFr as default };
|
package/locales/fy.d.mts
ADDED
package/locales/{fy.js → fy.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeFy = {
|
|
|
56
56
|
"nov.",
|
|
57
57
|
"des."
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeFy = {
|
|
|
90
91
|
hh: "%d oeren",
|
|
91
92
|
d: "ien dei",
|
|
92
93
|
dd: "%d dagen",
|
|
94
|
+
w: "ien wike",
|
|
95
|
+
ww: "%d wiken",
|
|
93
96
|
M: "ien moanne",
|
|
94
97
|
MM: "%d moannen",
|
|
95
98
|
y: "ien jier",
|
|
@@ -100,7 +103,6 @@ const localeFy = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var fy_default = localeFy;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeFy as default };
|
package/locales/ga.d.mts
ADDED
package/locales/{ga.js → ga.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeGa = {
|
|
|
56
56
|
"Samh",
|
|
57
57
|
"Noll"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeGa = {
|
|
|
90
91
|
hh: "%d uair an chloig",
|
|
91
92
|
d: "lá",
|
|
92
93
|
dd: "%d lá",
|
|
94
|
+
w: "seachtain ",
|
|
95
|
+
ww: "%d seachtainí",
|
|
93
96
|
M: "mí",
|
|
94
97
|
MM: "%d mí",
|
|
95
98
|
y: "bliain",
|
|
@@ -100,7 +103,6 @@ const localeGa = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var ga_default = localeGa;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeGa as default };
|
package/locales/gd.d.mts
ADDED
package/locales/{gd.js → gd.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeGd = {
|
|
|
56
56
|
"Samh",
|
|
57
57
|
"Dùbh"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeGd = {
|
|
|
90
91
|
hh: "%d uairean",
|
|
91
92
|
d: "latha",
|
|
92
93
|
dd: "%d latha",
|
|
94
|
+
w: "seachdain ",
|
|
95
|
+
ww: "%d seachdainean",
|
|
93
96
|
M: "mìos",
|
|
94
97
|
MM: "%d mìosan",
|
|
95
98
|
y: "bliadhna",
|
|
@@ -100,7 +103,6 @@ const localeGd = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var gd_default = localeGd;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeGd as default };
|
package/locales/gl.d.mts
ADDED
package/locales/{gl.js → gl.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeGl = {
|
|
|
56
56
|
"nov.",
|
|
57
57
|
"dec."
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
59
60
|
ordinal: (n) => `${n}º`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 4,
|
|
@@ -100,6 +101,8 @@ const localeGl = {
|
|
|
100
101
|
hh: "%d horas",
|
|
101
102
|
d: "un día",
|
|
102
103
|
dd: "%d días",
|
|
104
|
+
w: "nunha semana",
|
|
105
|
+
ww: "%d semanas",
|
|
103
106
|
M: "un mes",
|
|
104
107
|
MM: "%d meses",
|
|
105
108
|
y: "un ano",
|
|
@@ -110,7 +113,6 @@ const localeGl = {
|
|
|
110
113
|
return isLowercase ? m.toLowerCase() : m;
|
|
111
114
|
}
|
|
112
115
|
};
|
|
113
|
-
var gl_default = localeGl;
|
|
114
116
|
|
|
115
117
|
//#endregion
|
|
116
|
-
export {
|
|
118
|
+
export { localeGl as default };
|
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
//#region src/locales/gom-deva.ts
|
|
2
|
-
const monthFormat = [
|
|
3
|
-
"जानेवारीच्या",
|
|
4
|
-
"फेब्रुवारीच्या",
|
|
5
|
-
"मार्चाच्या",
|
|
6
|
-
"एप्रीलाच्या",
|
|
7
|
-
"मेयाच्या",
|
|
8
|
-
"जूनाच्या",
|
|
9
|
-
"जुलयाच्या",
|
|
10
|
-
"ऑगस्टाच्या",
|
|
11
|
-
"सप्टेंबराच्या",
|
|
12
|
-
"ऑक्टोबराच्या",
|
|
13
|
-
"नोव्हेंबराच्या",
|
|
14
|
-
"डिसेंबराच्या"
|
|
15
|
-
];
|
|
16
|
-
const monthStandalone = [
|
|
17
|
-
"जानेवारी",
|
|
18
|
-
"फेब्रुवारी",
|
|
19
|
-
"मार्च",
|
|
20
|
-
"एप्रील",
|
|
21
|
-
"मे",
|
|
22
|
-
"जून",
|
|
23
|
-
"जुलय",
|
|
24
|
-
"ऑगस्ट",
|
|
25
|
-
"सप्टेंबर",
|
|
26
|
-
"ऑक्टोबर",
|
|
27
|
-
"नोव्हेंबर",
|
|
28
|
-
"डिसेंबर"
|
|
29
|
-
];
|
|
30
2
|
const months = {
|
|
31
|
-
standalone:
|
|
32
|
-
|
|
3
|
+
standalone: [
|
|
4
|
+
"जानेवारी",
|
|
5
|
+
"फेब्रुवारी",
|
|
6
|
+
"मार्च",
|
|
7
|
+
"एप्रील",
|
|
8
|
+
"मे",
|
|
9
|
+
"जून",
|
|
10
|
+
"जुलय",
|
|
11
|
+
"ऑगस्ट",
|
|
12
|
+
"सप्टेंबर",
|
|
13
|
+
"ऑक्टोबर",
|
|
14
|
+
"नोव्हेंबर",
|
|
15
|
+
"डिसेंबर"
|
|
16
|
+
],
|
|
17
|
+
format: [
|
|
18
|
+
"जानेवारीच्या",
|
|
19
|
+
"फेब्रुवारीच्या",
|
|
20
|
+
"मार्चाच्या",
|
|
21
|
+
"एप्रीलाच्या",
|
|
22
|
+
"मेयाच्या",
|
|
23
|
+
"जूनाच्या",
|
|
24
|
+
"जुलयाच्या",
|
|
25
|
+
"ऑगस्टाच्या",
|
|
26
|
+
"सप्टेंबराच्या",
|
|
27
|
+
"ऑक्टोबराच्या",
|
|
28
|
+
"नोव्हेंबराच्या",
|
|
29
|
+
"डिसेंबराच्या"
|
|
30
|
+
],
|
|
33
31
|
isFormat: /MMMM(\s)+D[oD]?/
|
|
34
32
|
};
|
|
35
33
|
const processRelativeTime = (timeValue, _withoutSuffix, token, isFuture) => {
|
|
@@ -42,6 +40,8 @@ const processRelativeTime = (timeValue, _withoutSuffix, token, isFuture) => {
|
|
|
42
40
|
hh: [`${timeValue} वरांनी`, `${timeValue} वरां`],
|
|
43
41
|
d: ["एका दिसान", "एक दीस"],
|
|
44
42
|
dd: [`${timeValue} दिसांनी`, `${timeValue} दीस`],
|
|
43
|
+
w: ["एका सप्तकांत", "एक दीस"],
|
|
44
|
+
ww: [`${timeValue} सप्तकांत`, `${timeValue} सप्तकांत`],
|
|
45
45
|
M: ["एका म्हयन्यान", "एक म्हयनो"],
|
|
46
46
|
MM: [`${timeValue} म्हयन्यानी`, `${timeValue} म्हयने`],
|
|
47
47
|
y: ["एका वर्सान", "एक वर्स"],
|
|
@@ -93,6 +93,7 @@ const localeGomLatn = {
|
|
|
93
93
|
"नोव्हें.",
|
|
94
94
|
"डिसें."
|
|
95
95
|
],
|
|
96
|
+
dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
|
|
96
97
|
ordinal: (n) => `${n}`,
|
|
97
98
|
weekStart: 0,
|
|
98
99
|
yearStart: 4,
|
|
@@ -127,6 +128,8 @@ const localeGomLatn = {
|
|
|
127
128
|
hh: processRelativeTime,
|
|
128
129
|
d: processRelativeTime,
|
|
129
130
|
dd: processRelativeTime,
|
|
131
|
+
w: processRelativeTime,
|
|
132
|
+
ww: processRelativeTime,
|
|
130
133
|
M: processRelativeTime,
|
|
131
134
|
MM: processRelativeTime,
|
|
132
135
|
y: processRelativeTime,
|
|
@@ -140,7 +143,6 @@ const localeGomLatn = {
|
|
|
140
143
|
return "rati";
|
|
141
144
|
}
|
|
142
145
|
};
|
|
143
|
-
var gom_deva_default = localeGomLatn;
|
|
144
146
|
|
|
145
147
|
//#endregion
|
|
146
|
-
export {
|
|
148
|
+
export { localeGomLatn as default };
|
|
@@ -1,35 +1,33 @@
|
|
|
1
1
|
//#region src/locales/gom-latn.ts
|
|
2
|
-
const monthFormat = [
|
|
3
|
-
"Janerachea",
|
|
4
|
-
"Febrerachea",
|
|
5
|
-
"Marsachea",
|
|
6
|
-
"Abrilachea",
|
|
7
|
-
"Maiachea",
|
|
8
|
-
"Junachea",
|
|
9
|
-
"Julaiachea",
|
|
10
|
-
"Agostachea",
|
|
11
|
-
"Setembrachea",
|
|
12
|
-
"Otubrachea",
|
|
13
|
-
"Novembrachea",
|
|
14
|
-
"Dezembrachea"
|
|
15
|
-
];
|
|
16
|
-
const monthStandalone = [
|
|
17
|
-
"Janer",
|
|
18
|
-
"Febrer",
|
|
19
|
-
"Mars",
|
|
20
|
-
"Abril",
|
|
21
|
-
"Mai",
|
|
22
|
-
"Jun",
|
|
23
|
-
"Julai",
|
|
24
|
-
"Agost",
|
|
25
|
-
"Setembr",
|
|
26
|
-
"Otubr",
|
|
27
|
-
"Novembr",
|
|
28
|
-
"Dezembr"
|
|
29
|
-
];
|
|
30
2
|
const months = {
|
|
31
|
-
standalone:
|
|
32
|
-
|
|
3
|
+
standalone: [
|
|
4
|
+
"Janer",
|
|
5
|
+
"Febrer",
|
|
6
|
+
"Mars",
|
|
7
|
+
"Abril",
|
|
8
|
+
"Mai",
|
|
9
|
+
"Jun",
|
|
10
|
+
"Julai",
|
|
11
|
+
"Agost",
|
|
12
|
+
"Setembr",
|
|
13
|
+
"Otubr",
|
|
14
|
+
"Novembr",
|
|
15
|
+
"Dezembr"
|
|
16
|
+
],
|
|
17
|
+
format: [
|
|
18
|
+
"Janerachea",
|
|
19
|
+
"Febrerachea",
|
|
20
|
+
"Marsachea",
|
|
21
|
+
"Abrilachea",
|
|
22
|
+
"Maiachea",
|
|
23
|
+
"Junachea",
|
|
24
|
+
"Julaiachea",
|
|
25
|
+
"Agostachea",
|
|
26
|
+
"Setembrachea",
|
|
27
|
+
"Otubrachea",
|
|
28
|
+
"Novembrachea",
|
|
29
|
+
"Dezembrachea"
|
|
30
|
+
],
|
|
33
31
|
isFormat: /MMMM(\s)+D[oD]?/
|
|
34
32
|
};
|
|
35
33
|
const processRelativeTime = (timeValue, _withoutSuffix, token, isFuture) => {
|
|
@@ -42,6 +40,8 @@ const processRelativeTime = (timeValue, _withoutSuffix, token, isFuture) => {
|
|
|
42
40
|
hh: [`${timeValue} voramni`, `${timeValue} voram`],
|
|
43
41
|
d: ["eka disan", "ek dis"],
|
|
44
42
|
dd: [`${timeValue} disamni`, `${timeValue} dis`],
|
|
43
|
+
w: ["eka saptakant", "ek saptaka"],
|
|
44
|
+
ww: [`${timeValue} saptakanta`, `${timeValue} saptakam`],
|
|
45
45
|
M: ["eka mhoinean", "ek mhoino"],
|
|
46
46
|
MM: [`${timeValue} mhoineamni`, `${timeValue} mhoine`],
|
|
47
47
|
y: ["eka vorsan", "ek voros"],
|
|
@@ -93,6 +93,7 @@ const localeGomLatn = {
|
|
|
93
93
|
"Nov.",
|
|
94
94
|
"Dez."
|
|
95
95
|
],
|
|
96
|
+
dayOfMonthOrdinalParse: /\d{1,2}(er)/,
|
|
96
97
|
ordinal: (n) => `${n}`,
|
|
97
98
|
weekStart: 0,
|
|
98
99
|
yearStart: 4,
|
|
@@ -127,6 +128,8 @@ const localeGomLatn = {
|
|
|
127
128
|
hh: processRelativeTime,
|
|
128
129
|
d: processRelativeTime,
|
|
129
130
|
dd: processRelativeTime,
|
|
131
|
+
w: processRelativeTime,
|
|
132
|
+
ww: processRelativeTime,
|
|
130
133
|
M: processRelativeTime,
|
|
131
134
|
MM: processRelativeTime,
|
|
132
135
|
y: processRelativeTime,
|
|
@@ -140,7 +143,6 @@ const localeGomLatn = {
|
|
|
140
143
|
return "rati";
|
|
141
144
|
}
|
|
142
145
|
};
|
|
143
|
-
var gom_latn_default = localeGomLatn;
|
|
144
146
|
|
|
145
147
|
//#endregion
|
|
146
|
-
export {
|
|
148
|
+
export { localeGomLatn as default };
|
package/locales/gu.d.mts
ADDED
package/locales/{gu.js → gu.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeGu = {
|
|
|
56
56
|
"નવે.",
|
|
57
57
|
"ડિસે."
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 0,
|
|
61
62
|
yearStart: 4,
|
|
@@ -90,6 +91,8 @@ const localeGu = {
|
|
|
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 localeGu = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var gu_default = localeGu;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeGu as default };
|
package/locales/he.d.mts
ADDED
package/locales/{he.js → he.mjs}
RENAMED
|
@@ -10,6 +10,9 @@ const relativeTimeFormatStrings = {
|
|
|
10
10
|
d: "יום",
|
|
11
11
|
dd: "%d ימים",
|
|
12
12
|
dd2: "יומיים",
|
|
13
|
+
w: "שבוע",
|
|
14
|
+
ww: "%d שבועות",
|
|
15
|
+
ww2: "בשבועיים",
|
|
13
16
|
M: "חודש",
|
|
14
17
|
MM: "%d חודשים",
|
|
15
18
|
MM2: "חודשיים",
|
|
@@ -18,9 +21,7 @@ const relativeTimeFormatStrings = {
|
|
|
18
21
|
yy2: "שנתיים"
|
|
19
22
|
};
|
|
20
23
|
const relativeTimeFormatter = (timeValue, _withoutSuffix, token, _isFuture) => {
|
|
21
|
-
|
|
22
|
-
const text = relativeTimeFormatStrings[formatStringsIndex] ?? relativeTimeFormatStrings[token];
|
|
23
|
-
return text.replace("%d", timeValue.toString());
|
|
24
|
+
return (relativeTimeFormatStrings[token + (+timeValue === 2 ? "2" : "")] ?? relativeTimeFormatStrings[token]).replace("%d", timeValue.toString());
|
|
24
25
|
};
|
|
25
26
|
const localeHe = {
|
|
26
27
|
name: "he",
|
|
@@ -79,6 +80,7 @@ const localeHe = {
|
|
|
79
80
|
"נוב",
|
|
80
81
|
"דצמ"
|
|
81
82
|
],
|
|
83
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
82
84
|
ordinal: (n) => `${n}`,
|
|
83
85
|
weekStart: 0,
|
|
84
86
|
yearStart: 4,
|
|
@@ -113,6 +115,8 @@ const localeHe = {
|
|
|
113
115
|
hh: relativeTimeFormatter,
|
|
114
116
|
d: relativeTimeFormatter,
|
|
115
117
|
dd: relativeTimeFormatter,
|
|
118
|
+
w: relativeTimeFormatter,
|
|
119
|
+
ww: relativeTimeFormatter,
|
|
116
120
|
M: relativeTimeFormatter,
|
|
117
121
|
MM: relativeTimeFormatter,
|
|
118
122
|
y: relativeTimeFormatter,
|
|
@@ -123,7 +127,6 @@ const localeHe = {
|
|
|
123
127
|
return isLowercase ? m.toLowerCase() : m;
|
|
124
128
|
}
|
|
125
129
|
};
|
|
126
|
-
var he_default = localeHe;
|
|
127
130
|
|
|
128
131
|
//#endregion
|
|
129
|
-
export {
|
|
132
|
+
export { localeHe as default };
|
package/locales/hi.d.mts
ADDED
package/locales/{hi.js → hi.mjs}
RENAMED
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
//#region src/locales/hi.ts
|
|
2
|
-
const monthFormat = [
|
|
3
|
-
"जनवरी",
|
|
4
|
-
"फ़रवरी",
|
|
5
|
-
"मार्च",
|
|
6
|
-
"अप्रैल",
|
|
7
|
-
"मई",
|
|
8
|
-
"जून",
|
|
9
|
-
"जुलाई",
|
|
10
|
-
"अगस्त",
|
|
11
|
-
"सितम्बर",
|
|
12
|
-
"अक्टूबर",
|
|
13
|
-
"नवम्बर",
|
|
14
|
-
"दिसम्बर"
|
|
15
|
-
];
|
|
16
|
-
const monthStandalone = [
|
|
17
|
-
"जनवरी",
|
|
18
|
-
"फरवरी",
|
|
19
|
-
"मार्च",
|
|
20
|
-
"अप्रैल",
|
|
21
|
-
"मई",
|
|
22
|
-
"जून",
|
|
23
|
-
"जुलाई",
|
|
24
|
-
"अगस्त",
|
|
25
|
-
"सितंबर",
|
|
26
|
-
"अक्टूबर",
|
|
27
|
-
"नवंबर",
|
|
28
|
-
"दिसंबर"
|
|
29
|
-
];
|
|
30
|
-
const months = {
|
|
31
|
-
standalone: monthStandalone,
|
|
32
|
-
format: monthFormat
|
|
33
|
-
};
|
|
34
2
|
const localeHi = {
|
|
35
3
|
name: "hi",
|
|
36
4
|
weekdays: [
|
|
@@ -60,7 +28,36 @@ const localeHi = {
|
|
|
60
28
|
"शु",
|
|
61
29
|
"श"
|
|
62
30
|
],
|
|
63
|
-
months
|
|
31
|
+
months: {
|
|
32
|
+
standalone: [
|
|
33
|
+
"जनवरी",
|
|
34
|
+
"फरवरी",
|
|
35
|
+
"मार्च",
|
|
36
|
+
"अप्रैल",
|
|
37
|
+
"मई",
|
|
38
|
+
"जून",
|
|
39
|
+
"जुलाई",
|
|
40
|
+
"अगस्त",
|
|
41
|
+
"सितंबर",
|
|
42
|
+
"अक्टूबर",
|
|
43
|
+
"नवंबर",
|
|
44
|
+
"दिसंबर"
|
|
45
|
+
],
|
|
46
|
+
format: [
|
|
47
|
+
"जनवरी",
|
|
48
|
+
"फ़रवरी",
|
|
49
|
+
"मार्च",
|
|
50
|
+
"अप्रैल",
|
|
51
|
+
"मई",
|
|
52
|
+
"जून",
|
|
53
|
+
"जुलाई",
|
|
54
|
+
"अगस्त",
|
|
55
|
+
"सितम्बर",
|
|
56
|
+
"अक्टूबर",
|
|
57
|
+
"नवम्बर",
|
|
58
|
+
"दिसम्बर"
|
|
59
|
+
]
|
|
60
|
+
},
|
|
64
61
|
monthsShort: [
|
|
65
62
|
"जन.",
|
|
66
63
|
"फ़र.",
|
|
@@ -75,6 +72,7 @@ const localeHi = {
|
|
|
75
72
|
"नव.",
|
|
76
73
|
"दिस."
|
|
77
74
|
],
|
|
75
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
78
76
|
ordinal: (n) => `${n}`,
|
|
79
77
|
weekStart: 0,
|
|
80
78
|
yearStart: 4,
|
|
@@ -109,6 +107,8 @@ const localeHi = {
|
|
|
109
107
|
hh: "%d घंटे",
|
|
110
108
|
d: "एक दिन",
|
|
111
109
|
dd: "%d दिन",
|
|
110
|
+
w: "एक हफ़्ते में",
|
|
111
|
+
ww: "%dहफ़्तों में",
|
|
112
112
|
M: "एक महीने",
|
|
113
113
|
MM: "%d महीने",
|
|
114
114
|
y: "एक वर्ष",
|
|
@@ -119,7 +119,6 @@ const localeHi = {
|
|
|
119
119
|
return isLowercase ? m.toLowerCase() : m;
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
-
var hi_default = localeHi;
|
|
123
122
|
|
|
124
123
|
//#endregion
|
|
125
|
-
export {
|
|
124
|
+
export { localeHi as default };
|
package/locales/hr.d.mts
ADDED
package/locales/{hr.js → hr.mjs}
RENAMED
|
@@ -28,8 +28,7 @@ const monthStandalone = [
|
|
|
28
28
|
"prosinac"
|
|
29
29
|
];
|
|
30
30
|
const months = (esdayInstance, format) => {
|
|
31
|
-
|
|
32
|
-
if (MONTHS_IN_FORMAT.test(format)) return monthFormat[esdayInstance.month()];
|
|
31
|
+
if (/D[oD]?(?:\[[^[\]]*\]|\s)+MMMM?/.test(format)) return monthFormat[esdayInstance.month()];
|
|
33
32
|
return monthStandalone[esdayInstance.month()];
|
|
34
33
|
};
|
|
35
34
|
months.format = monthFormat;
|
|
@@ -89,6 +88,11 @@ const relativeTimeFormatter = (timeValue, withoutSuffix, token, _isFuture) => {
|
|
|
89
88
|
if (timeValueAsNumber === 1) result += "dan";
|
|
90
89
|
else result += "dana";
|
|
91
90
|
return result;
|
|
91
|
+
case "ww":
|
|
92
|
+
if (timeValueAsNumber === 1) result += "tjedan";
|
|
93
|
+
else if (timeValueAsNumber === 2 || timeValueAsNumber === 3 || timeValueAsNumber === 4) result += "tjedna";
|
|
94
|
+
else result += "tjedana";
|
|
95
|
+
return result;
|
|
92
96
|
case "MM":
|
|
93
97
|
if (timeValueAsNumber === 1) result += "mjesec";
|
|
94
98
|
else if (timeValueAsNumber === 2 || timeValueAsNumber === 3 || timeValueAsNumber === 4) result += "mjeseca";
|
|
@@ -146,6 +150,7 @@ const localeHr = {
|
|
|
146
150
|
"stu.",
|
|
147
151
|
"pro."
|
|
148
152
|
],
|
|
153
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
149
154
|
ordinal: (n) => `${n}.`,
|
|
150
155
|
weekStart: 1,
|
|
151
156
|
yearStart: 4,
|
|
@@ -173,6 +178,8 @@ const localeHr = {
|
|
|
173
178
|
hh: relativeTimeFormatter,
|
|
174
179
|
d: "dan",
|
|
175
180
|
dd: relativeTimeFormatter,
|
|
181
|
+
w: "jednog tjedna",
|
|
182
|
+
ww: relativeTimeFormatter,
|
|
176
183
|
M: "mjesec",
|
|
177
184
|
MM: relativeTimeFormatter,
|
|
178
185
|
y: "godina",
|
|
@@ -183,7 +190,6 @@ const localeHr = {
|
|
|
183
190
|
return isLowercase ? m.toLowerCase() : m;
|
|
184
191
|
}
|
|
185
192
|
};
|
|
186
|
-
var hr_default = localeHr;
|
|
187
193
|
|
|
188
194
|
//#endregion
|
|
189
|
-
export {
|
|
195
|
+
export { localeHr as default };
|