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 "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { sv_default } from "../chunks/br7kModF.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
2
|
+
import localeSv from "./sv.mjs";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/sv-fi.ts
|
|
9
|
-
|
|
5
|
+
/**
|
|
6
|
+
* Finland Swedish [sv-FI]
|
|
7
|
+
*/
|
|
8
|
+
const localeSvFi = cloneLocale(localeSv);
|
|
10
9
|
const formats = {
|
|
11
10
|
LT: "HH.mm",
|
|
12
11
|
LTS: "HH.mm.ss",
|
|
@@ -21,7 +20,6 @@ const formats = {
|
|
|
21
20
|
};
|
|
22
21
|
setLocaleProperty(localeSvFi, "name", "sv-FI");
|
|
23
22
|
setLocaleProperty(localeSvFi, "formats", formats);
|
|
24
|
-
var sv_fi_default = localeSvFi;
|
|
25
23
|
|
|
26
24
|
//#endregion
|
|
27
|
-
export {
|
|
25
|
+
export { localeSvFi as default };
|
package/locales/sv.d.mts
ADDED
|
@@ -56,10 +56,10 @@ const localeSv = {
|
|
|
56
56
|
"nov",
|
|
57
57
|
"dec"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(:e|:a)/,
|
|
59
60
|
ordinal: (n) => {
|
|
60
61
|
const lastDigit = n % 10;
|
|
61
|
-
|
|
62
|
-
return `${n}${extension}`;
|
|
62
|
+
return `${n}${lastDigit === 1 || lastDigit === 2 ? "a" : "e"}`;
|
|
63
63
|
},
|
|
64
64
|
weekStart: 1,
|
|
65
65
|
yearStart: 4,
|
|
@@ -94,6 +94,8 @@ const localeSv = {
|
|
|
94
94
|
hh: "%d timmar",
|
|
95
95
|
d: "en dag",
|
|
96
96
|
dd: "%d dagar",
|
|
97
|
+
w: "en vecka",
|
|
98
|
+
ww: "%d veckor",
|
|
97
99
|
M: "en månad",
|
|
98
100
|
MM: "%d månader",
|
|
99
101
|
y: "ett år",
|
|
@@ -104,7 +106,6 @@ const localeSv = {
|
|
|
104
106
|
return isLowercase ? m.toLowerCase() : m;
|
|
105
107
|
}
|
|
106
108
|
};
|
|
107
|
-
var sv_default = localeSv;
|
|
108
109
|
|
|
109
110
|
//#endregion
|
|
110
|
-
export {
|
|
111
|
+
export { localeSv as default };
|
package/locales/sw.d.mts
ADDED
package/locales/{sw.js → sw.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeSw = {
|
|
|
56
56
|
"Nov",
|
|
57
57
|
"Des"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 1,
|
|
@@ -90,6 +91,8 @@ const localeSw = {
|
|
|
90
91
|
hh: "masaa %d",
|
|
91
92
|
d: "siku moja",
|
|
92
93
|
dd: "masiku %d",
|
|
94
|
+
w: "wiki moja",
|
|
95
|
+
ww: "wiki %d",
|
|
93
96
|
M: "mwezi mmoja",
|
|
94
97
|
MM: "miezi %d",
|
|
95
98
|
y: "mwaka mmoja",
|
|
@@ -100,7 +103,6 @@ const localeSw = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var sw_default = localeSw;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeSw as default };
|
package/locales/ta.d.mts
ADDED
package/locales/{ta.js → ta.mjs}
RENAMED
|
@@ -80,6 +80,7 @@ const localeTa = {
|
|
|
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 localeTa = {
|
|
|
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: "ஒரு வருடம்",
|
|
@@ -131,7 +134,6 @@ const localeTa = {
|
|
|
131
134
|
preParse: (dateString) => dateString.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, (match) => tamilToEnglishNumbersMap[match]),
|
|
132
135
|
postFormat: (formattedDate) => formattedDate.replace(/\d/g, (match) => englishToTamilNumbersMap[Number(match)])
|
|
133
136
|
};
|
|
134
|
-
var ta_default = localeTa;
|
|
135
137
|
|
|
136
138
|
//#endregion
|
|
137
|
-
export {
|
|
139
|
+
export { localeTa as default };
|
package/locales/te.d.mts
ADDED
package/locales/{te.js → te.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeTe = {
|
|
|
56
56
|
"నవ.",
|
|
57
57
|
"డిసె."
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}వ/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 0,
|
|
61
62
|
yearStart: 1,
|
|
@@ -90,6 +91,8 @@ const localeTe = {
|
|
|
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: "ఒక సంవత్సరం",
|
|
@@ -103,7 +106,6 @@ const localeTe = {
|
|
|
103
106
|
return "రాత్రి";
|
|
104
107
|
}
|
|
105
108
|
};
|
|
106
|
-
var te_default = localeTe;
|
|
107
109
|
|
|
108
110
|
//#endregion
|
|
109
|
-
export {
|
|
111
|
+
export { localeTe as default };
|
|
@@ -56,10 +56,10 @@ const localeTet = {
|
|
|
56
56
|
"Nov",
|
|
57
57
|
"Dez"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
59
60
|
ordinal: (n) => {
|
|
60
61
|
const numberTens = n % 10;
|
|
61
|
-
|
|
62
|
-
return `${n}${output}`;
|
|
62
|
+
return `${n}${~~(n % 100 / 10) === 1 ? "th" : numberTens === 1 ? "st" : numberTens === 2 ? "nd" : numberTens === 3 ? "rd" : "th"}`;
|
|
63
63
|
},
|
|
64
64
|
weekStart: 1,
|
|
65
65
|
yearStart: 4,
|
|
@@ -94,6 +94,8 @@ const localeTet = {
|
|
|
94
94
|
hh: "oras %d",
|
|
95
95
|
d: "loron ida",
|
|
96
96
|
dd: "loron %d",
|
|
97
|
+
w: "semana ida",
|
|
98
|
+
ww: "semana %d",
|
|
97
99
|
M: "fulan ida",
|
|
98
100
|
MM: "fulan %d",
|
|
99
101
|
y: "tinan ida",
|
|
@@ -104,7 +106,6 @@ const localeTet = {
|
|
|
104
106
|
return isLowercase ? m.toLowerCase() : m;
|
|
105
107
|
}
|
|
106
108
|
};
|
|
107
|
-
var tet_default = localeTet;
|
|
108
109
|
|
|
109
110
|
//#endregion
|
|
110
|
-
export {
|
|
111
|
+
export { localeTet as default };
|
package/locales/tg.d.mts
ADDED
package/locales/{tg.js → tg.mjs}
RENAMED
|
@@ -1,36 +1,4 @@
|
|
|
1
1
|
//#region src/locales/tg.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 localeTg = {
|
|
35
3
|
name: "tg",
|
|
36
4
|
weekdays: [
|
|
@@ -60,7 +28,36 @@ const localeTg = {
|
|
|
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 localeTg = {
|
|
|
75
72
|
"ноя",
|
|
76
73
|
"дек"
|
|
77
74
|
],
|
|
75
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
|
|
78
76
|
ordinal: (n) => `${n}`,
|
|
79
77
|
weekStart: 1,
|
|
80
78
|
yearStart: 1,
|
|
@@ -109,6 +107,8 @@ const localeTg = {
|
|
|
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: "як сол",
|
|
@@ -122,7 +122,6 @@ const localeTg = {
|
|
|
122
122
|
return "шаб";
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
|
-
var tg_default = localeTg;
|
|
126
125
|
|
|
127
126
|
//#endregion
|
|
128
|
-
export {
|
|
127
|
+
export { localeTg as default };
|
package/locales/th.d.mts
ADDED
package/locales/{th.js → th.mjs}
RENAMED
|
@@ -56,6 +56,7 @@ const localeTh = {
|
|
|
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 localeTh = {
|
|
|
90
91
|
hh: "%d ชั่วโมง",
|
|
91
92
|
d: "1 วัน",
|
|
92
93
|
dd: "%d วัน",
|
|
94
|
+
w: "1 สัปดาห์",
|
|
95
|
+
ww: "%d สัปดาห์",
|
|
93
96
|
M: "1 เดือน",
|
|
94
97
|
MM: "%d เดือน",
|
|
95
98
|
y: "1 ปี",
|
|
@@ -100,7 +103,6 @@ const localeTh = {
|
|
|
100
103
|
return "หลังเที่ยง";
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var th_default = localeTh;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeTh as default };
|
package/locales/tk.d.mts
ADDED
package/locales/{tk.js → tk.mjs}
RENAMED
|
@@ -77,13 +77,13 @@ const localeTk = {
|
|
|
77
77
|
"Noý",
|
|
78
78
|
"Dek"
|
|
79
79
|
],
|
|
80
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
80
81
|
ordinal: (n) => {
|
|
81
82
|
if (n === 0) return `${n}'unjy`;
|
|
82
83
|
const one = n % 10;
|
|
83
84
|
const ten = n % 100 - one;
|
|
84
85
|
const cutoffNumber = n >= 100 ? 100 : null;
|
|
85
|
-
|
|
86
|
-
return `${n}${suffix}`;
|
|
86
|
+
return `${n}${suffixes[one] || suffixes[ten] || suffixes[cutoffNumber]}`;
|
|
87
87
|
},
|
|
88
88
|
weekStart: 1,
|
|
89
89
|
yearStart: 1,
|
|
@@ -118,6 +118,8 @@ const localeTk = {
|
|
|
118
118
|
hh: "%d sagat",
|
|
119
119
|
d: "bir gün",
|
|
120
120
|
dd: "%d gün",
|
|
121
|
+
w: "bir hepde",
|
|
122
|
+
ww: "%d hepde",
|
|
121
123
|
M: "bir aý",
|
|
122
124
|
MM: "%d aý",
|
|
123
125
|
y: "bir ýyl",
|
|
@@ -128,7 +130,6 @@ const localeTk = {
|
|
|
128
130
|
return isLowercase ? m.toLowerCase() : m;
|
|
129
131
|
}
|
|
130
132
|
};
|
|
131
|
-
var tk_default = localeTk;
|
|
132
133
|
|
|
133
134
|
//#endregion
|
|
134
|
-
export {
|
|
135
|
+
export { localeTk as default };
|
|
@@ -56,6 +56,7 @@ const localeTlPh = {
|
|
|
56
56
|
"Nob",
|
|
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 localeTlPh = {
|
|
|
90
91
|
hh: "%d oras",
|
|
91
92
|
d: "isang araw",
|
|
92
93
|
dd: "%d araw",
|
|
94
|
+
w: "isang linggo",
|
|
95
|
+
ww: "%d linggo",
|
|
93
96
|
M: "isang buwan",
|
|
94
97
|
MM: "%d buwan",
|
|
95
98
|
y: "isang taon",
|
|
@@ -100,7 +103,6 @@ const localeTlPh = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var tl_ph_default = localeTlPh;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeTlPh as default };
|
|
@@ -40,6 +40,7 @@ const relativeTimeFormatter = (timeValue, _withoutSuffix, token, _isFuture) => {
|
|
|
40
40
|
case "mm": return `${numberNoun} tup`;
|
|
41
41
|
case "hh": return `${numberNoun} rep`;
|
|
42
42
|
case "dd": return `${numberNoun} jaj`;
|
|
43
|
+
case "ww": return `${numberNoun} puj`;
|
|
43
44
|
case "MM": return `${numberNoun} jar`;
|
|
44
45
|
case "yy": return `${numberNoun} DIS`;
|
|
45
46
|
default: return "";
|
|
@@ -102,6 +103,7 @@ const localeTlh = {
|
|
|
102
103
|
"jar wa’maH wa’",
|
|
103
104
|
"jar wa’maH cha’"
|
|
104
105
|
],
|
|
106
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
105
107
|
ordinal: (n) => `${n}`,
|
|
106
108
|
weekStart: 1,
|
|
107
109
|
yearStart: 4,
|
|
@@ -136,6 +138,8 @@ const localeTlh = {
|
|
|
136
138
|
hh: relativeTimeFormatter,
|
|
137
139
|
d: "wa’ jaj",
|
|
138
140
|
dd: relativeTimeFormatter,
|
|
141
|
+
w: "wa’ hogh",
|
|
142
|
+
ww: relativeTimeFormatter,
|
|
139
143
|
M: "wa’ jar",
|
|
140
144
|
MM: relativeTimeFormatter,
|
|
141
145
|
y: "wa’ DIS",
|
|
@@ -146,7 +150,6 @@ const localeTlh = {
|
|
|
146
150
|
return isLowercase ? m.toLowerCase() : m;
|
|
147
151
|
}
|
|
148
152
|
};
|
|
149
|
-
var tlh_default = localeTlh;
|
|
150
153
|
|
|
151
154
|
//#endregion
|
|
152
|
-
export {
|
|
155
|
+
export { localeTlh as default };
|
package/locales/tr.d.mts
ADDED
package/locales/{tr.js → tr.mjs}
RENAMED
|
@@ -77,13 +77,13 @@ const localeTr = {
|
|
|
77
77
|
"Kas",
|
|
78
78
|
"Ara"
|
|
79
79
|
],
|
|
80
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
80
81
|
ordinal: (n) => {
|
|
81
82
|
if (n === 0) return `${n}'ıncı`;
|
|
82
83
|
const one = n % 10;
|
|
83
84
|
const ten = n % 100 - one;
|
|
84
85
|
const cutoffNumber = n >= 100 ? 100 : null;
|
|
85
|
-
|
|
86
|
-
return `${n}${suffix}`;
|
|
86
|
+
return `${n}${suffixes[one] || suffixes[ten] || suffixes[cutoffNumber]}`;
|
|
87
87
|
},
|
|
88
88
|
weekStart: 1,
|
|
89
89
|
yearStart: 1,
|
|
@@ -118,6 +118,8 @@ const localeTr = {
|
|
|
118
118
|
hh: "%d saat",
|
|
119
119
|
d: "bir gün",
|
|
120
120
|
dd: "%d gün",
|
|
121
|
+
w: "bir hafta",
|
|
122
|
+
ww: "%d hafta",
|
|
121
123
|
M: "bir ay",
|
|
122
124
|
MM: "%d ay",
|
|
123
125
|
y: "bir yıl",
|
|
@@ -128,7 +130,6 @@ const localeTr = {
|
|
|
128
130
|
return isLowercase ? "ös" : "ÖS";
|
|
129
131
|
}
|
|
130
132
|
};
|
|
131
|
-
var tr_default = localeTr;
|
|
132
133
|
|
|
133
134
|
//#endregion
|
|
134
|
-
export {
|
|
135
|
+
export { localeTr as default };
|
|
@@ -73,6 +73,7 @@ const localeTzl = {
|
|
|
73
73
|
"Noe",
|
|
74
74
|
"Zec"
|
|
75
75
|
],
|
|
76
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
76
77
|
ordinal: (n) => `${n}.`,
|
|
77
78
|
weekStart: 1,
|
|
78
79
|
yearStart: 4,
|
|
@@ -107,6 +108,8 @@ const localeTzl = {
|
|
|
107
108
|
hh: relativeTimeFormatter,
|
|
108
109
|
d: relativeTimeFormatter,
|
|
109
110
|
dd: relativeTimeFormatter,
|
|
111
|
+
w: "a week",
|
|
112
|
+
ww: "%d weeks",
|
|
110
113
|
M: relativeTimeFormatter,
|
|
111
114
|
MM: relativeTimeFormatter,
|
|
112
115
|
y: relativeTimeFormatter,
|
|
@@ -117,7 +120,6 @@ const localeTzl = {
|
|
|
117
120
|
return isLowercase ? "d'a" : "D'A";
|
|
118
121
|
}
|
|
119
122
|
};
|
|
120
|
-
var tzl_default = localeTzl;
|
|
121
123
|
|
|
122
124
|
//#endregion
|
|
123
|
-
export {
|
|
125
|
+
export { localeTzl as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import "
|
|
3
|
-
import "../chunks/DjY7KvwG.js";
|
|
4
|
-
import "../chunks/tfkJ5D3p.js";
|
|
5
|
-
import { cloneLocale, setLocaleProperty } from "../chunks/CoBtJ4c1.js";
|
|
6
|
-
import { tzm_default } from "../chunks/l2Rxo2H0.js";
|
|
1
|
+
import { cloneLocale, setLocaleProperty } from "../plugins/locale/index.mjs";
|
|
2
|
+
import localeTzm from "./tzm.mjs";
|
|
7
3
|
|
|
8
4
|
//#region src/locales/tzm-latn.ts
|
|
5
|
+
/**
|
|
6
|
+
* Central Atlas Tamazight Latin [tzm-LATN]
|
|
7
|
+
*/
|
|
9
8
|
const calendar = {
|
|
10
9
|
sameDay: "[asdkh g] LT",
|
|
11
10
|
nextDay: "[aska g] LT",
|
|
@@ -14,7 +13,7 @@ const calendar = {
|
|
|
14
13
|
lastWeek: "dddd [g] LT",
|
|
15
14
|
sameElse: "L"
|
|
16
15
|
};
|
|
17
|
-
const localeTzmLatn = cloneLocale(
|
|
16
|
+
const localeTzmLatn = cloneLocale(localeTzm);
|
|
18
17
|
const weekdays = [
|
|
19
18
|
"asamas",
|
|
20
19
|
"aynas",
|
|
@@ -49,6 +48,8 @@ const relativeTime = {
|
|
|
49
48
|
hh: "%d tassaɛin",
|
|
50
49
|
d: "ass",
|
|
51
50
|
dd: "%d ossan",
|
|
51
|
+
w: "ddurt",
|
|
52
|
+
ww: "%d smanat",
|
|
52
53
|
M: "ayowr",
|
|
53
54
|
MM: "%d iyyirn",
|
|
54
55
|
y: "asgas",
|
|
@@ -62,7 +63,6 @@ setLocaleProperty(localeTzmLatn, "months", months);
|
|
|
62
63
|
setLocaleProperty(localeTzmLatn, "monthsShort", months);
|
|
63
64
|
setLocaleProperty(localeTzmLatn, "calendar", calendar);
|
|
64
65
|
setLocaleProperty(localeTzmLatn, "relativeTime", relativeTime);
|
|
65
|
-
var tzm_latn_default = localeTzmLatn;
|
|
66
66
|
|
|
67
67
|
//#endregion
|
|
68
|
-
export {
|
|
68
|
+
export { localeTzmLatn as default };
|
|
@@ -56,6 +56,7 @@ const localeTzm = {
|
|
|
56
56
|
"ⵏⵓⵡⴰⵏⴱⵉⵔ",
|
|
57
57
|
"ⴷⵓⵊⵏⴱⵉⵔ"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 6,
|
|
61
62
|
yearStart: 1,
|
|
@@ -90,6 +91,8 @@ const localeTzm = {
|
|
|
90
91
|
hh: "%d ⵜⴰⵙⵙⴰⵄⵉⵏ",
|
|
91
92
|
d: "ⴰⵙⵙ",
|
|
92
93
|
dd: "%d oⵙⵙⴰⵏ",
|
|
94
|
+
w: "ⴷⴷⵓⵔⵜ",
|
|
95
|
+
ww: "%d ⵙⵎⴰⵏⴰⵜ",
|
|
93
96
|
M: "ⴰⵢoⵓⵔ",
|
|
94
97
|
MM: "%d ⵉⵢⵢⵉⵔⵏ",
|
|
95
98
|
y: "ⴰⵙⴳⴰⵙ",
|
|
@@ -100,7 +103,6 @@ const localeTzm = {
|
|
|
100
103
|
return isLowercase ? m.toLowerCase() : m;
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var tzm_default = localeTzm;
|
|
104
106
|
|
|
105
107
|
//#endregion
|
|
106
|
-
export {
|
|
108
|
+
export { localeTzm as default };
|
|
@@ -56,6 +56,7 @@ const localeUgCn = {
|
|
|
56
56
|
"نويابىر",
|
|
57
57
|
"دېكابىر"
|
|
58
58
|
],
|
|
59
|
+
dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
|
|
59
60
|
ordinal: (n) => `${n}`,
|
|
60
61
|
weekStart: 1,
|
|
61
62
|
yearStart: 1,
|
|
@@ -90,6 +91,8 @@ const localeUgCn = {
|
|
|
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: "بىر يىل",
|
|
@@ -105,7 +108,6 @@ const localeUgCn = {
|
|
|
105
108
|
return "كەچ";
|
|
106
109
|
}
|
|
107
110
|
};
|
|
108
|
-
var ug_cn_default = localeUgCn;
|
|
109
111
|
|
|
110
112
|
//#endregion
|
|
111
|
-
export {
|
|
113
|
+
export { localeUgCn as default };
|