@nocobase/plugin-backup-restore 1.3.44-beta → 1.4.0-alpha.0
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/dist/externalVersion.js +5 -5
- package/dist/locale/ja-JP.json +24 -0
- package/dist/locale/pt-BR.json +25 -0
- package/dist/node_modules/@hapi/topo/package.json +1 -1
- package/dist/node_modules/archiver/package.json +1 -1
- package/dist/node_modules/decompress/package.json +1 -1
- package/dist/node_modules/mkdirp/package.json +1 -1
- package/dist/node_modules/moment/LICENSE +22 -0
- package/dist/node_modules/moment/dist/locale/af.js +71 -0
- package/dist/node_modules/moment/dist/locale/ar-dz.js +156 -0
- package/dist/node_modules/moment/dist/locale/ar-kw.js +55 -0
- package/dist/node_modules/moment/dist/locale/ar-ly.js +171 -0
- package/dist/node_modules/moment/dist/locale/ar-ma.js +56 -0
- package/dist/node_modules/moment/dist/locale/ar-sa.js +105 -0
- package/dist/node_modules/moment/dist/locale/ar-tn.js +55 -0
- package/dist/node_modules/moment/dist/locale/ar.js +189 -0
- package/dist/node_modules/moment/dist/locale/az.js +102 -0
- package/dist/node_modules/moment/dist/locale/be.js +142 -0
- package/dist/node_modules/moment/dist/locale/bg.js +87 -0
- package/dist/node_modules/moment/dist/locale/bm.js +52 -0
- package/dist/node_modules/moment/dist/locale/bn-bd.js +129 -0
- package/dist/node_modules/moment/dist/locale/bn.js +119 -0
- package/dist/node_modules/moment/dist/locale/bo.js +124 -0
- package/dist/node_modules/moment/dist/locale/br.js +168 -0
- package/dist/node_modules/moment/dist/locale/bs.js +150 -0
- package/dist/node_modules/moment/dist/locale/ca.js +100 -0
- package/dist/node_modules/moment/dist/locale/cs.js +180 -0
- package/dist/node_modules/moment/dist/locale/cv.js +63 -0
- package/dist/node_modules/moment/dist/locale/cy.js +98 -0
- package/dist/node_modules/moment/dist/locale/da.js +53 -0
- package/dist/node_modules/moment/dist/locale/de-at.js +79 -0
- package/dist/node_modules/moment/dist/locale/de-ch.js +78 -0
- package/dist/node_modules/moment/dist/locale/de.js +78 -0
- package/dist/node_modules/moment/dist/locale/dv.js +90 -0
- package/dist/node_modules/moment/dist/locale/el.js +106 -0
- package/dist/node_modules/moment/dist/locale/en-au.js +68 -0
- package/dist/node_modules/moment/dist/locale/en-ca.js +64 -0
- package/dist/node_modules/moment/dist/locale/en-gb.js +68 -0
- package/dist/node_modules/moment/dist/locale/en-ie.js +68 -0
- package/dist/node_modules/moment/dist/locale/en-il.js +64 -0
- package/dist/node_modules/moment/dist/locale/en-in.js +68 -0
- package/dist/node_modules/moment/dist/locale/en-nz.js +68 -0
- package/dist/node_modules/moment/dist/locale/en-sg.js +68 -0
- package/dist/node_modules/moment/dist/locale/eo.js +68 -0
- package/dist/node_modules/moment/dist/locale/es-do.js +108 -0
- package/dist/node_modules/moment/dist/locale/es-mx.js +110 -0
- package/dist/node_modules/moment/dist/locale/es-us.js +110 -0
- package/dist/node_modules/moment/dist/locale/es.js +110 -0
- package/dist/node_modules/moment/dist/locale/et.js +78 -0
- package/dist/node_modules/moment/dist/locale/eu.js +65 -0
- package/dist/node_modules/moment/dist/locale/fa.js +113 -0
- package/dist/node_modules/moment/dist/locale/fi.js +124 -0
- package/dist/node_modules/moment/dist/locale/fil.js +58 -0
- package/dist/node_modules/moment/dist/locale/fo.js +57 -0
- package/dist/node_modules/moment/dist/locale/fr-ca.js +70 -0
- package/dist/node_modules/moment/dist/locale/fr-ch.js +74 -0
- package/dist/node_modules/moment/dist/locale/fr.js +108 -0
- package/dist/node_modules/moment/dist/locale/fy.js +75 -0
- package/dist/node_modules/moment/dist/locale/ga.js +95 -0
- package/dist/node_modules/moment/dist/locale/gd.js +95 -0
- package/dist/node_modules/moment/dist/locale/gl.js +75 -0
- package/dist/node_modules/moment/dist/locale/gom-deva.js +126 -0
- package/dist/node_modules/moment/dist/locale/gom-latn.js +124 -0
- package/dist/node_modules/moment/dist/locale/gu.js +122 -0
- package/dist/node_modules/moment/dist/locale/he.js +94 -0
- package/dist/node_modules/moment/dist/locale/hi.js +168 -0
- package/dist/node_modules/moment/dist/locale/hr.js +156 -0
- package/dist/node_modules/moment/dist/locale/hu.js +118 -0
- package/dist/node_modules/moment/dist/locale/hy-am.js +94 -0
- package/dist/node_modules/moment/dist/locale/id.js +76 -0
- package/dist/node_modules/moment/dist/locale/is.js +140 -0
- package/dist/node_modules/moment/dist/locale/it-ch.js +64 -0
- package/dist/node_modules/moment/dist/locale/it.js +106 -0
- package/dist/node_modules/moment/dist/locale/ja.js +148 -0
- package/dist/node_modules/moment/dist/locale/jv.js +76 -0
- package/dist/node_modules/moment/dist/locale/ka.js +92 -0
- package/dist/node_modules/moment/dist/locale/kk.js +82 -0
- package/dist/node_modules/moment/dist/locale/km.js +103 -0
- package/dist/node_modules/moment/dist/locale/kn.js +124 -0
- package/dist/node_modules/moment/dist/locale/ko.js +75 -0
- package/dist/node_modules/moment/dist/locale/ku.js +118 -0
- package/dist/node_modules/moment/dist/locale/ky.js +84 -0
- package/dist/node_modules/moment/dist/locale/lb.js +137 -0
- package/dist/node_modules/moment/dist/locale/lo.js +66 -0
- package/dist/node_modules/moment/dist/locale/lt.js +125 -0
- package/dist/node_modules/moment/dist/locale/lv.js +94 -0
- package/dist/node_modules/moment/dist/locale/me.js +117 -0
- package/dist/node_modules/moment/dist/locale/mi.js +60 -0
- package/dist/node_modules/moment/dist/locale/mk.js +85 -0
- package/dist/node_modules/moment/dist/locale/ml.js +82 -0
- package/dist/node_modules/moment/dist/locale/mn.js +100 -0
- package/dist/node_modules/moment/dist/locale/mr.js +203 -0
- package/dist/node_modules/moment/dist/locale/ms-my.js +76 -0
- package/dist/node_modules/moment/dist/locale/ms.js +75 -0
- package/dist/node_modules/moment/dist/locale/mt.js +56 -0
- package/dist/node_modules/moment/dist/locale/my.js +91 -0
- package/dist/node_modules/moment/dist/locale/nb.js +60 -0
- package/dist/node_modules/moment/dist/locale/ne.js +121 -0
- package/dist/node_modules/moment/dist/locale/nl-be.js +102 -0
- package/dist/node_modules/moment/dist/locale/nl.js +104 -0
- package/dist/node_modules/moment/dist/locale/nn.js +59 -0
- package/dist/node_modules/moment/dist/locale/oc-lnc.js +85 -0
- package/dist/node_modules/moment/dist/locale/pa-in.js +122 -0
- package/dist/node_modules/moment/dist/locale/pl.js +140 -0
- package/dist/node_modules/moment/dist/locale/pt-br.js +58 -0
- package/dist/node_modules/moment/dist/locale/pt.js +63 -0
- package/dist/node_modules/moment/dist/locale/ro.js +76 -0
- package/dist/node_modules/moment/dist/locale/ru.js +213 -0
- package/dist/node_modules/moment/dist/locale/sd.js +81 -0
- package/dist/node_modules/moment/dist/locale/se.js +57 -0
- package/dist/node_modules/moment/dist/locale/si.js +69 -0
- package/dist/node_modules/moment/dist/locale/sk.js +145 -0
- package/dist/node_modules/moment/dist/locale/sl.js +171 -0
- package/dist/node_modules/moment/dist/locale/sq.js +65 -0
- package/dist/node_modules/moment/dist/locale/sr-cyrl.js +127 -0
- package/dist/node_modules/moment/dist/locale/sr.js +129 -0
- package/dist/node_modules/moment/dist/locale/ss.js +84 -0
- package/dist/node_modules/moment/dist/locale/sv.js +68 -0
- package/dist/node_modules/moment/dist/locale/sw.js +55 -0
- package/dist/node_modules/moment/dist/locale/ta.js +131 -0
- package/dist/node_modules/moment/dist/locale/te.js +88 -0
- package/dist/node_modules/moment/dist/locale/tet.js +68 -0
- package/dist/node_modules/moment/dist/locale/tg.js +117 -0
- package/dist/node_modules/moment/dist/locale/th.js +65 -0
- package/dist/node_modules/moment/dist/locale/tk.js +91 -0
- package/dist/node_modules/moment/dist/locale/tl-ph.js +57 -0
- package/dist/node_modules/moment/dist/locale/tlh.js +124 -0
- package/dist/node_modules/moment/dist/locale/tr.js +106 -0
- package/dist/node_modules/moment/dist/locale/tzl.js +89 -0
- package/dist/node_modules/moment/dist/locale/tzm-latn.js +54 -0
- package/dist/node_modules/moment/dist/locale/tzm.js +54 -0
- package/dist/node_modules/moment/dist/locale/ug-cn.js +111 -0
- package/dist/node_modules/moment/dist/locale/uk.js +167 -0
- package/dist/node_modules/moment/dist/locale/ur.js +82 -0
- package/dist/node_modules/moment/dist/locale/uz-latn.js +54 -0
- package/dist/node_modules/moment/dist/locale/uz.js +51 -0
- package/dist/node_modules/moment/dist/locale/vi.js +80 -0
- package/dist/node_modules/moment/dist/locale/x-pseudo.js +73 -0
- package/dist/node_modules/moment/dist/locale/yo.js +53 -0
- package/dist/node_modules/moment/dist/locale/zh-cn.js +120 -0
- package/dist/node_modules/moment/dist/locale/zh-hk.js +101 -0
- package/dist/node_modules/moment/dist/locale/zh-mo.js +100 -0
- package/dist/node_modules/moment/dist/locale/zh-tw.js +99 -0
- package/dist/node_modules/moment/dist/moment.js +5677 -0
- package/dist/node_modules/moment/ender.js +1 -0
- package/dist/node_modules/moment/locale/af.js +82 -0
- package/dist/node_modules/moment/locale/ar-dz.js +167 -0
- package/dist/node_modules/moment/locale/ar-kw.js +66 -0
- package/dist/node_modules/moment/locale/ar-ly.js +182 -0
- package/dist/node_modules/moment/locale/ar-ma.js +67 -0
- package/dist/node_modules/moment/locale/ar-sa.js +116 -0
- package/dist/node_modules/moment/locale/ar-tn.js +66 -0
- package/dist/node_modules/moment/locale/ar.js +200 -0
- package/dist/node_modules/moment/locale/az.js +113 -0
- package/dist/node_modules/moment/locale/be.js +153 -0
- package/dist/node_modules/moment/locale/bg.js +98 -0
- package/dist/node_modules/moment/locale/bm.js +62 -0
- package/dist/node_modules/moment/locale/bn-bd.js +140 -0
- package/dist/node_modules/moment/locale/bn.js +130 -0
- package/dist/node_modules/moment/locale/bo.js +135 -0
- package/dist/node_modules/moment/locale/br.js +179 -0
- package/dist/node_modules/moment/locale/bs.js +161 -0
- package/dist/node_modules/moment/locale/ca.js +111 -0
- package/dist/node_modules/moment/locale/cs.js +191 -0
- package/dist/node_modules/moment/locale/cv.js +74 -0
- package/dist/node_modules/moment/locale/cy.js +109 -0
- package/dist/node_modules/moment/locale/da.js +64 -0
- package/dist/node_modules/moment/locale/de-at.js +90 -0
- package/dist/node_modules/moment/locale/de-ch.js +87 -0
- package/dist/node_modules/moment/locale/de.js +89 -0
- package/dist/node_modules/moment/locale/dv.js +101 -0
- package/dist/node_modules/moment/locale/el.js +117 -0
- package/dist/node_modules/moment/locale/en-au.js +79 -0
- package/dist/node_modules/moment/locale/en-ca.js +75 -0
- package/dist/node_modules/moment/locale/en-gb.js +79 -0
- package/dist/node_modules/moment/locale/en-ie.js +79 -0
- package/dist/node_modules/moment/locale/en-il.js +75 -0
- package/dist/node_modules/moment/locale/en-in.js +79 -0
- package/dist/node_modules/moment/locale/en-nz.js +79 -0
- package/dist/node_modules/moment/locale/en-sg.js +79 -0
- package/dist/node_modules/moment/locale/eo.js +79 -0
- package/dist/node_modules/moment/locale/es-do.js +119 -0
- package/dist/node_modules/moment/locale/es-mx.js +121 -0
- package/dist/node_modules/moment/locale/es-us.js +121 -0
- package/dist/node_modules/moment/locale/es.js +121 -0
- package/dist/node_modules/moment/locale/et.js +89 -0
- package/dist/node_modules/moment/locale/eu.js +76 -0
- package/dist/node_modules/moment/locale/fa.js +124 -0
- package/dist/node_modules/moment/locale/fi.js +135 -0
- package/dist/node_modules/moment/locale/fil.js +69 -0
- package/dist/node_modules/moment/locale/fo.js +68 -0
- package/dist/node_modules/moment/locale/fr-ca.js +81 -0
- package/dist/node_modules/moment/locale/fr-ch.js +85 -0
- package/dist/node_modules/moment/locale/fr.js +119 -0
- package/dist/node_modules/moment/locale/fy.js +86 -0
- package/dist/node_modules/moment/locale/ga.js +106 -0
- package/dist/node_modules/moment/locale/gd.js +106 -0
- package/dist/node_modules/moment/locale/gl.js +86 -0
- package/dist/node_modules/moment/locale/gom-deva.js +137 -0
- package/dist/node_modules/moment/locale/gom-latn.js +135 -0
- package/dist/node_modules/moment/locale/gu.js +133 -0
- package/dist/node_modules/moment/locale/he.js +105 -0
- package/dist/node_modules/moment/locale/hi.js +179 -0
- package/dist/node_modules/moment/locale/hr.js +167 -0
- package/dist/node_modules/moment/locale/hu.js +129 -0
- package/dist/node_modules/moment/locale/hy-am.js +105 -0
- package/dist/node_modules/moment/locale/id.js +87 -0
- package/dist/node_modules/moment/locale/is.js +151 -0
- package/dist/node_modules/moment/locale/it-ch.js +75 -0
- package/dist/node_modules/moment/locale/it.js +117 -0
- package/dist/node_modules/moment/locale/ja.js +159 -0
- package/dist/node_modules/moment/locale/jv.js +87 -0
- package/dist/node_modules/moment/locale/ka.js +103 -0
- package/dist/node_modules/moment/locale/kk.js +93 -0
- package/dist/node_modules/moment/locale/km.js +114 -0
- package/dist/node_modules/moment/locale/kn.js +135 -0
- package/dist/node_modules/moment/locale/ko.js +86 -0
- package/dist/node_modules/moment/locale/ku.js +129 -0
- package/dist/node_modules/moment/locale/ky.js +95 -0
- package/dist/node_modules/moment/locale/lb.js +148 -0
- package/dist/node_modules/moment/locale/lo.js +77 -0
- package/dist/node_modules/moment/locale/lt.js +136 -0
- package/dist/node_modules/moment/locale/lv.js +105 -0
- package/dist/node_modules/moment/locale/me.js +128 -0
- package/dist/node_modules/moment/locale/mi.js +71 -0
- package/dist/node_modules/moment/locale/mk.js +97 -0
- package/dist/node_modules/moment/locale/ml.js +93 -0
- package/dist/node_modules/moment/locale/mn.js +111 -0
- package/dist/node_modules/moment/locale/mr.js +214 -0
- package/dist/node_modules/moment/locale/ms-my.js +87 -0
- package/dist/node_modules/moment/locale/ms.js +86 -0
- package/dist/node_modules/moment/locale/mt.js +67 -0
- package/dist/node_modules/moment/locale/my.js +102 -0
- package/dist/node_modules/moment/locale/nb.js +71 -0
- package/dist/node_modules/moment/locale/ne.js +132 -0
- package/dist/node_modules/moment/locale/nl-be.js +113 -0
- package/dist/node_modules/moment/locale/nl.js +115 -0
- package/dist/node_modules/moment/locale/nn.js +70 -0
- package/dist/node_modules/moment/locale/oc-lnc.js +96 -0
- package/dist/node_modules/moment/locale/pa-in.js +133 -0
- package/dist/node_modules/moment/locale/pl.js +151 -0
- package/dist/node_modules/moment/locale/pt-br.js +69 -0
- package/dist/node_modules/moment/locale/pt.js +74 -0
- package/dist/node_modules/moment/locale/ro.js +87 -0
- package/dist/node_modules/moment/locale/ru.js +224 -0
- package/dist/node_modules/moment/locale/sd.js +92 -0
- package/dist/node_modules/moment/locale/se.js +68 -0
- package/dist/node_modules/moment/locale/si.js +80 -0
- package/dist/node_modules/moment/locale/sk.js +156 -0
- package/dist/node_modules/moment/locale/sl.js +182 -0
- package/dist/node_modules/moment/locale/sq.js +76 -0
- package/dist/node_modules/moment/locale/sr-cyrl.js +138 -0
- package/dist/node_modules/moment/locale/sr.js +140 -0
- package/dist/node_modules/moment/locale/ss.js +95 -0
- package/dist/node_modules/moment/locale/sv.js +79 -0
- package/dist/node_modules/moment/locale/sw.js +66 -0
- package/dist/node_modules/moment/locale/ta.js +142 -0
- package/dist/node_modules/moment/locale/te.js +99 -0
- package/dist/node_modules/moment/locale/tet.js +79 -0
- package/dist/node_modules/moment/locale/tg.js +128 -0
- package/dist/node_modules/moment/locale/th.js +76 -0
- package/dist/node_modules/moment/locale/tk.js +102 -0
- package/dist/node_modules/moment/locale/tl-ph.js +68 -0
- package/dist/node_modules/moment/locale/tlh.js +135 -0
- package/dist/node_modules/moment/locale/tr.js +117 -0
- package/dist/node_modules/moment/locale/tzl.js +100 -0
- package/dist/node_modules/moment/locale/tzm-latn.js +65 -0
- package/dist/node_modules/moment/locale/tzm.js +65 -0
- package/dist/node_modules/moment/locale/ug-cn.js +122 -0
- package/dist/node_modules/moment/locale/uk.js +178 -0
- package/dist/node_modules/moment/locale/ur.js +93 -0
- package/dist/node_modules/moment/locale/uz-latn.js +65 -0
- package/dist/node_modules/moment/locale/uz.js +62 -0
- package/dist/node_modules/moment/locale/vi.js +91 -0
- package/dist/node_modules/moment/locale/x-pseudo.js +84 -0
- package/dist/node_modules/moment/locale/yo.js +64 -0
- package/dist/node_modules/moment/locale/zh-cn.js +131 -0
- package/dist/node_modules/moment/locale/zh-hk.js +112 -0
- package/dist/node_modules/moment/locale/zh-mo.js +111 -0
- package/dist/node_modules/moment/locale/zh-tw.js +110 -0
- package/dist/node_modules/moment/min/locales.js +12570 -0
- package/dist/node_modules/moment/min/locales.min.js +2 -0
- package/dist/node_modules/moment/min/moment-with-locales.js +18239 -0
- package/dist/node_modules/moment/min/moment-with-locales.min.js +2 -0
- package/dist/node_modules/moment/min/moment.min.js +2 -0
- package/dist/node_modules/moment/moment.d.ts +796 -0
- package/dist/node_modules/moment/moment.js +9 -0
- package/dist/node_modules/moment/package.js +11 -0
- package/dist/node_modules/moment/package.json +1 -0
- package/dist/node_modules/moment/src/lib/create/check-overflow.js +57 -0
- package/dist/node_modules/moment/src/lib/create/date-from-array.js +35 -0
- package/dist/node_modules/moment/src/lib/create/from-anything.js +117 -0
- package/dist/node_modules/moment/src/lib/create/from-array.js +187 -0
- package/dist/node_modules/moment/src/lib/create/from-object.js +20 -0
- package/dist/node_modules/moment/src/lib/create/from-string-and-array.js +67 -0
- package/dist/node_modules/moment/src/lib/create/from-string-and-format.js +135 -0
- package/dist/node_modules/moment/src/lib/create/from-string.js +258 -0
- package/dist/node_modules/moment/src/lib/create/local.js +5 -0
- package/dist/node_modules/moment/src/lib/create/parsing-flags.js +28 -0
- package/dist/node_modules/moment/src/lib/create/utc.js +5 -0
- package/dist/node_modules/moment/src/lib/create/valid.js +51 -0
- package/dist/node_modules/moment/src/lib/duration/abs.js +18 -0
- package/dist/node_modules/moment/src/lib/duration/add-subtract.js +21 -0
- package/dist/node_modules/moment/src/lib/duration/as.js +88 -0
- package/dist/node_modules/moment/src/lib/duration/bubble.js +68 -0
- package/dist/node_modules/moment/src/lib/duration/clone.js +5 -0
- package/dist/node_modules/moment/src/lib/duration/constructor.js +42 -0
- package/dist/node_modules/moment/src/lib/duration/create.js +133 -0
- package/dist/node_modules/moment/src/lib/duration/duration.js +16 -0
- package/dist/node_modules/moment/src/lib/duration/get.js +27 -0
- package/dist/node_modules/moment/src/lib/duration/humanize.js +114 -0
- package/dist/node_modules/moment/src/lib/duration/iso-string.js +68 -0
- package/dist/node_modules/moment/src/lib/duration/prototype.js +78 -0
- package/dist/node_modules/moment/src/lib/duration/valid.js +55 -0
- package/dist/node_modules/moment/src/lib/format/format.js +104 -0
- package/dist/node_modules/moment/src/lib/locale/base-config.js +41 -0
- package/dist/node_modules/moment/src/lib/locale/calendar.js +15 -0
- package/dist/node_modules/moment/src/lib/locale/constructor.js +5 -0
- package/dist/node_modules/moment/src/lib/locale/en.js +39 -0
- package/dist/node_modules/moment/src/lib/locale/formats.js +36 -0
- package/dist/node_modules/moment/src/lib/locale/invalid.js +5 -0
- package/dist/node_modules/moment/src/lib/locale/lists.js +93 -0
- package/dist/node_modules/moment/src/lib/locale/locale.js +45 -0
- package/dist/node_modules/moment/src/lib/locale/locales.js +248 -0
- package/dist/node_modules/moment/src/lib/locale/ordinal.js +8 -0
- package/dist/node_modules/moment/src/lib/locale/pre-post-format.js +3 -0
- package/dist/node_modules/moment/src/lib/locale/prototype.js +88 -0
- package/dist/node_modules/moment/src/lib/locale/relative.js +32 -0
- package/dist/node_modules/moment/src/lib/locale/set.js +56 -0
- package/dist/node_modules/moment/src/lib/moment/add-subtract.js +61 -0
- package/dist/node_modules/moment/src/lib/moment/calendar.js +53 -0
- package/dist/node_modules/moment/src/lib/moment/clone.js +5 -0
- package/dist/node_modules/moment/src/lib/moment/compare.js +72 -0
- package/dist/node_modules/moment/src/lib/moment/constructor.js +80 -0
- package/dist/node_modules/moment/src/lib/moment/creation-data.js +9 -0
- package/dist/node_modules/moment/src/lib/moment/diff.js +79 -0
- package/dist/node_modules/moment/src/lib/moment/format.js +78 -0
- package/dist/node_modules/moment/src/lib/moment/from.js +20 -0
- package/dist/node_modules/moment/src/lib/moment/get-set.js +73 -0
- package/dist/node_modules/moment/src/lib/moment/locale.js +34 -0
- package/dist/node_modules/moment/src/lib/moment/min-max.js +62 -0
- package/dist/node_modules/moment/src/lib/moment/moment.js +28 -0
- package/dist/node_modules/moment/src/lib/moment/now.js +3 -0
- package/dist/node_modules/moment/src/lib/moment/prototype.js +197 -0
- package/dist/node_modules/moment/src/lib/moment/start-end-of.js +164 -0
- package/dist/node_modules/moment/src/lib/moment/to-type.js +42 -0
- package/dist/node_modules/moment/src/lib/moment/to.js +20 -0
- package/dist/node_modules/moment/src/lib/moment/valid.js +15 -0
- package/dist/node_modules/moment/src/lib/parse/regex.js +80 -0
- package/dist/node_modules/moment/src/lib/parse/token.js +36 -0
- package/dist/node_modules/moment/src/lib/units/aliases.js +31 -0
- package/dist/node_modules/moment/src/lib/units/constants.js +9 -0
- package/dist/node_modules/moment/src/lib/units/day-of-month.js +39 -0
- package/dist/node_modules/moment/src/lib/units/day-of-week.js +443 -0
- package/dist/node_modules/moment/src/lib/units/day-of-year.js +37 -0
- package/dist/node_modules/moment/src/lib/units/era.js +287 -0
- package/dist/node_modules/moment/src/lib/units/hour.js +159 -0
- package/dist/node_modules/moment/src/lib/units/millisecond.js +76 -0
- package/dist/node_modules/moment/src/lib/units/minute.js +29 -0
- package/dist/node_modules/moment/src/lib/units/month.js +349 -0
- package/dist/node_modules/moment/src/lib/units/offset.js +249 -0
- package/dist/node_modules/moment/src/lib/units/priorities.js +21 -0
- package/dist/node_modules/moment/src/lib/units/quarter.js +34 -0
- package/dist/node_modules/moment/src/lib/units/second.js +29 -0
- package/dist/node_modules/moment/src/lib/units/timestamp.js +20 -0
- package/dist/node_modules/moment/src/lib/units/timezone.js +16 -0
- package/dist/node_modules/moment/src/lib/units/units.js +20 -0
- package/dist/node_modules/moment/src/lib/units/week-calendar-utils.js +66 -0
- package/dist/node_modules/moment/src/lib/units/week-year.js +138 -0
- package/dist/node_modules/moment/src/lib/units/week.js +69 -0
- package/dist/node_modules/moment/src/lib/units/year.js +85 -0
- package/dist/node_modules/moment/src/lib/utils/abs-ceil.js +7 -0
- package/dist/node_modules/moment/src/lib/utils/abs-floor.js +8 -0
- package/dist/node_modules/moment/src/lib/utils/abs-round.js +7 -0
- package/dist/node_modules/moment/src/lib/utils/compare-arrays.js +18 -0
- package/dist/node_modules/moment/src/lib/utils/defaults.js +10 -0
- package/dist/node_modules/moment/src/lib/utils/deprecate.js +69 -0
- package/dist/node_modules/moment/src/lib/utils/extend.js +19 -0
- package/dist/node_modules/moment/src/lib/utils/has-own-prop.js +3 -0
- package/dist/node_modules/moment/src/lib/utils/hooks.js +13 -0
- package/dist/node_modules/moment/src/lib/utils/index-of.js +18 -0
- package/dist/node_modules/moment/src/lib/utils/is-array.js +6 -0
- package/dist/node_modules/moment/src/lib/utils/is-calendar-spec.js +25 -0
- package/dist/node_modules/moment/src/lib/utils/is-date.js +6 -0
- package/dist/node_modules/moment/src/lib/utils/is-function.js +6 -0
- package/dist/node_modules/moment/src/lib/utils/is-leap-year.js +3 -0
- package/dist/node_modules/moment/src/lib/utils/is-moment-input.js +75 -0
- package/dist/node_modules/moment/src/lib/utils/is-number.js +6 -0
- package/dist/node_modules/moment/src/lib/utils/is-object-empty.js +15 -0
- package/dist/node_modules/moment/src/lib/utils/is-object.js +8 -0
- package/dist/node_modules/moment/src/lib/utils/is-string.js +3 -0
- package/dist/node_modules/moment/src/lib/utils/is-undefined.js +3 -0
- package/dist/node_modules/moment/src/lib/utils/keys.js +20 -0
- package/dist/node_modules/moment/src/lib/utils/map.js +9 -0
- package/dist/node_modules/moment/src/lib/utils/mod.js +3 -0
- package/dist/node_modules/moment/src/lib/utils/some.js +20 -0
- package/dist/node_modules/moment/src/lib/utils/to-int.js +12 -0
- package/dist/node_modules/moment/src/lib/utils/zero-fill.js +10 -0
- package/dist/node_modules/moment/src/locale/af.js +71 -0
- package/dist/node_modules/moment/src/locale/ar-dz.js +156 -0
- package/dist/node_modules/moment/src/locale/ar-kw.js +55 -0
- package/dist/node_modules/moment/src/locale/ar-ly.js +171 -0
- package/dist/node_modules/moment/src/locale/ar-ma.js +56 -0
- package/dist/node_modules/moment/src/locale/ar-sa.js +105 -0
- package/dist/node_modules/moment/src/locale/ar-tn.js +55 -0
- package/dist/node_modules/moment/src/locale/ar.js +189 -0
- package/dist/node_modules/moment/src/locale/az.js +102 -0
- package/dist/node_modules/moment/src/locale/be.js +142 -0
- package/dist/node_modules/moment/src/locale/bg.js +87 -0
- package/dist/node_modules/moment/src/locale/bm.js +52 -0
- package/dist/node_modules/moment/src/locale/bn-bd.js +129 -0
- package/dist/node_modules/moment/src/locale/bn.js +119 -0
- package/dist/node_modules/moment/src/locale/bo.js +124 -0
- package/dist/node_modules/moment/src/locale/br.js +168 -0
- package/dist/node_modules/moment/src/locale/bs.js +150 -0
- package/dist/node_modules/moment/src/locale/ca.js +100 -0
- package/dist/node_modules/moment/src/locale/cs.js +180 -0
- package/dist/node_modules/moment/src/locale/cv.js +63 -0
- package/dist/node_modules/moment/src/locale/cy.js +98 -0
- package/dist/node_modules/moment/src/locale/da.js +53 -0
- package/dist/node_modules/moment/src/locale/de-at.js +79 -0
- package/dist/node_modules/moment/src/locale/de-ch.js +78 -0
- package/dist/node_modules/moment/src/locale/de.js +78 -0
- package/dist/node_modules/moment/src/locale/dv.js +90 -0
- package/dist/node_modules/moment/src/locale/el.js +106 -0
- package/dist/node_modules/moment/src/locale/en-au.js +68 -0
- package/dist/node_modules/moment/src/locale/en-ca.js +64 -0
- package/dist/node_modules/moment/src/locale/en-gb.js +68 -0
- package/dist/node_modules/moment/src/locale/en-ie.js +68 -0
- package/dist/node_modules/moment/src/locale/en-il.js +64 -0
- package/dist/node_modules/moment/src/locale/en-in.js +68 -0
- package/dist/node_modules/moment/src/locale/en-nz.js +68 -0
- package/dist/node_modules/moment/src/locale/en-sg.js +68 -0
- package/dist/node_modules/moment/src/locale/eo.js +68 -0
- package/dist/node_modules/moment/src/locale/es-do.js +108 -0
- package/dist/node_modules/moment/src/locale/es-mx.js +110 -0
- package/dist/node_modules/moment/src/locale/es-us.js +110 -0
- package/dist/node_modules/moment/src/locale/es.js +110 -0
- package/dist/node_modules/moment/src/locale/et.js +78 -0
- package/dist/node_modules/moment/src/locale/eu.js +65 -0
- package/dist/node_modules/moment/src/locale/fa.js +113 -0
- package/dist/node_modules/moment/src/locale/fi.js +124 -0
- package/dist/node_modules/moment/src/locale/fil.js +58 -0
- package/dist/node_modules/moment/src/locale/fo.js +57 -0
- package/dist/node_modules/moment/src/locale/fr-ca.js +70 -0
- package/dist/node_modules/moment/src/locale/fr-ch.js +74 -0
- package/dist/node_modules/moment/src/locale/fr.js +108 -0
- package/dist/node_modules/moment/src/locale/fy.js +75 -0
- package/dist/node_modules/moment/src/locale/ga.js +95 -0
- package/dist/node_modules/moment/src/locale/gd.js +95 -0
- package/dist/node_modules/moment/src/locale/gl.js +75 -0
- package/dist/node_modules/moment/src/locale/gom-deva.js +126 -0
- package/dist/node_modules/moment/src/locale/gom-latn.js +124 -0
- package/dist/node_modules/moment/src/locale/gu.js +122 -0
- package/dist/node_modules/moment/src/locale/he.js +94 -0
- package/dist/node_modules/moment/src/locale/hi.js +168 -0
- package/dist/node_modules/moment/src/locale/hr.js +156 -0
- package/dist/node_modules/moment/src/locale/hu.js +118 -0
- package/dist/node_modules/moment/src/locale/hy-am.js +94 -0
- package/dist/node_modules/moment/src/locale/id.js +76 -0
- package/dist/node_modules/moment/src/locale/is.js +140 -0
- package/dist/node_modules/moment/src/locale/it-ch.js +64 -0
- package/dist/node_modules/moment/src/locale/it.js +106 -0
- package/dist/node_modules/moment/src/locale/ja.js +148 -0
- package/dist/node_modules/moment/src/locale/jv.js +76 -0
- package/dist/node_modules/moment/src/locale/ka.js +92 -0
- package/dist/node_modules/moment/src/locale/kk.js +82 -0
- package/dist/node_modules/moment/src/locale/km.js +103 -0
- package/dist/node_modules/moment/src/locale/kn.js +124 -0
- package/dist/node_modules/moment/src/locale/ko.js +75 -0
- package/dist/node_modules/moment/src/locale/ku.js +118 -0
- package/dist/node_modules/moment/src/locale/ky.js +84 -0
- package/dist/node_modules/moment/src/locale/lb.js +137 -0
- package/dist/node_modules/moment/src/locale/lo.js +66 -0
- package/dist/node_modules/moment/src/locale/lt.js +125 -0
- package/dist/node_modules/moment/src/locale/lv.js +94 -0
- package/dist/node_modules/moment/src/locale/me.js +117 -0
- package/dist/node_modules/moment/src/locale/mi.js +60 -0
- package/dist/node_modules/moment/src/locale/mk.js +85 -0
- package/dist/node_modules/moment/src/locale/ml.js +82 -0
- package/dist/node_modules/moment/src/locale/mn.js +100 -0
- package/dist/node_modules/moment/src/locale/mr.js +203 -0
- package/dist/node_modules/moment/src/locale/ms-my.js +76 -0
- package/dist/node_modules/moment/src/locale/ms.js +75 -0
- package/dist/node_modules/moment/src/locale/mt.js +56 -0
- package/dist/node_modules/moment/src/locale/my.js +91 -0
- package/dist/node_modules/moment/src/locale/nb.js +60 -0
- package/dist/node_modules/moment/src/locale/ne.js +121 -0
- package/dist/node_modules/moment/src/locale/nl-be.js +102 -0
- package/dist/node_modules/moment/src/locale/nl.js +104 -0
- package/dist/node_modules/moment/src/locale/nn.js +59 -0
- package/dist/node_modules/moment/src/locale/oc-lnc.js +85 -0
- package/dist/node_modules/moment/src/locale/pa-in.js +122 -0
- package/dist/node_modules/moment/src/locale/pl.js +140 -0
- package/dist/node_modules/moment/src/locale/pt-br.js +58 -0
- package/dist/node_modules/moment/src/locale/pt.js +63 -0
- package/dist/node_modules/moment/src/locale/ro.js +76 -0
- package/dist/node_modules/moment/src/locale/ru.js +213 -0
- package/dist/node_modules/moment/src/locale/sd.js +81 -0
- package/dist/node_modules/moment/src/locale/se.js +57 -0
- package/dist/node_modules/moment/src/locale/si.js +69 -0
- package/dist/node_modules/moment/src/locale/sk.js +145 -0
- package/dist/node_modules/moment/src/locale/sl.js +171 -0
- package/dist/node_modules/moment/src/locale/sq.js +65 -0
- package/dist/node_modules/moment/src/locale/sr-cyrl.js +127 -0
- package/dist/node_modules/moment/src/locale/sr.js +129 -0
- package/dist/node_modules/moment/src/locale/ss.js +84 -0
- package/dist/node_modules/moment/src/locale/sv.js +68 -0
- package/dist/node_modules/moment/src/locale/sw.js +55 -0
- package/dist/node_modules/moment/src/locale/ta.js +131 -0
- package/dist/node_modules/moment/src/locale/te.js +88 -0
- package/dist/node_modules/moment/src/locale/tet.js +68 -0
- package/dist/node_modules/moment/src/locale/tg.js +117 -0
- package/dist/node_modules/moment/src/locale/th.js +65 -0
- package/dist/node_modules/moment/src/locale/tk.js +91 -0
- package/dist/node_modules/moment/src/locale/tl-ph.js +57 -0
- package/dist/node_modules/moment/src/locale/tlh.js +124 -0
- package/dist/node_modules/moment/src/locale/tr.js +106 -0
- package/dist/node_modules/moment/src/locale/tzl.js +89 -0
- package/dist/node_modules/moment/src/locale/tzm-latn.js +54 -0
- package/dist/node_modules/moment/src/locale/tzm.js +54 -0
- package/dist/node_modules/moment/src/locale/ug-cn.js +111 -0
- package/dist/node_modules/moment/src/locale/uk.js +167 -0
- package/dist/node_modules/moment/src/locale/ur.js +82 -0
- package/dist/node_modules/moment/src/locale/uz-latn.js +54 -0
- package/dist/node_modules/moment/src/locale/uz.js +51 -0
- package/dist/node_modules/moment/src/locale/vi.js +80 -0
- package/dist/node_modules/moment/src/locale/x-pseudo.js +73 -0
- package/dist/node_modules/moment/src/locale/yo.js +53 -0
- package/dist/node_modules/moment/src/locale/zh-cn.js +120 -0
- package/dist/node_modules/moment/src/locale/zh-hk.js +101 -0
- package/dist/node_modules/moment/src/locale/zh-mo.js +100 -0
- package/dist/node_modules/moment/src/locale/zh-tw.js +99 -0
- package/dist/node_modules/moment/src/moment.js +93 -0
- package/dist/node_modules/moment/ts3.1-typings/moment.d.ts +785 -0
- package/dist/node_modules/semver/package.json +1 -1
- package/dist/server/field-value-writer.d.ts +3 -3
- package/dist/server/field-value-writer.js +15 -2
- package/dist/server/locale/zh-CN.json +8 -0
- package/dist/server/restorer.js +1 -1
- package/package.json +2 -2
- package/dist/locale/ja-JP.d.ts +0 -33
- package/dist/locale/ja-JP.js +0 -55
- package/dist/locale/ja_JP.json +0 -50
- package/dist/locale/pt-BR.d.ts +0 -34
- package/dist/locale/pt-BR.js +0 -57
- package/dist/server/locale/zh-CN.d.ts +0 -17
- package/dist/server/locale/zh-CN.js +0 -39
- /package/dist/locale/{ko_KR.json → ko-KR.json} +0 -0
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Telugu [te]
|
|
3
|
+
//! author : Krishna Chaitanya Thota : https://github.com/kcthota
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var te = moment.defineLocale('te', {
|
|
15
|
+
months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort:
|
|
19
|
+
'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
monthsParseExact: true,
|
|
23
|
+
weekdays:
|
|
24
|
+
'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(
|
|
25
|
+
'_'
|
|
26
|
+
),
|
|
27
|
+
weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
|
|
28
|
+
weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
|
|
29
|
+
longDateFormat: {
|
|
30
|
+
LT: 'A h:mm',
|
|
31
|
+
LTS: 'A h:mm:ss',
|
|
32
|
+
L: 'DD/MM/YYYY',
|
|
33
|
+
LL: 'D MMMM YYYY',
|
|
34
|
+
LLL: 'D MMMM YYYY, A h:mm',
|
|
35
|
+
LLLL: 'dddd, D MMMM YYYY, A h:mm',
|
|
36
|
+
},
|
|
37
|
+
calendar: {
|
|
38
|
+
sameDay: '[నేడు] LT',
|
|
39
|
+
nextDay: '[రేపు] LT',
|
|
40
|
+
nextWeek: 'dddd, LT',
|
|
41
|
+
lastDay: '[నిన్న] LT',
|
|
42
|
+
lastWeek: '[గత] dddd, LT',
|
|
43
|
+
sameElse: 'L',
|
|
44
|
+
},
|
|
45
|
+
relativeTime: {
|
|
46
|
+
future: '%s లో',
|
|
47
|
+
past: '%s క్రితం',
|
|
48
|
+
s: 'కొన్ని క్షణాలు',
|
|
49
|
+
ss: '%d సెకన్లు',
|
|
50
|
+
m: 'ఒక నిమిషం',
|
|
51
|
+
mm: '%d నిమిషాలు',
|
|
52
|
+
h: 'ఒక గంట',
|
|
53
|
+
hh: '%d గంటలు',
|
|
54
|
+
d: 'ఒక రోజు',
|
|
55
|
+
dd: '%d రోజులు',
|
|
56
|
+
M: 'ఒక నెల',
|
|
57
|
+
MM: '%d నెలలు',
|
|
58
|
+
y: 'ఒక సంవత్సరం',
|
|
59
|
+
yy: '%d సంవత్సరాలు',
|
|
60
|
+
},
|
|
61
|
+
dayOfMonthOrdinalParse: /\d{1,2}వ/,
|
|
62
|
+
ordinal: '%dవ',
|
|
63
|
+
meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
|
|
64
|
+
meridiemHour: function (hour, meridiem) {
|
|
65
|
+
if (hour === 12) {
|
|
66
|
+
hour = 0;
|
|
67
|
+
}
|
|
68
|
+
if (meridiem === 'రాత్రి') {
|
|
69
|
+
return hour < 4 ? hour : hour + 12;
|
|
70
|
+
} else if (meridiem === 'ఉదయం') {
|
|
71
|
+
return hour;
|
|
72
|
+
} else if (meridiem === 'మధ్యాహ్నం') {
|
|
73
|
+
return hour >= 10 ? hour : hour + 12;
|
|
74
|
+
} else if (meridiem === 'సాయంత్రం') {
|
|
75
|
+
return hour + 12;
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
meridiem: function (hour, minute, isLower) {
|
|
79
|
+
if (hour < 4) {
|
|
80
|
+
return 'రాత్రి';
|
|
81
|
+
} else if (hour < 10) {
|
|
82
|
+
return 'ఉదయం';
|
|
83
|
+
} else if (hour < 17) {
|
|
84
|
+
return 'మధ్యాహ్నం';
|
|
85
|
+
} else if (hour < 20) {
|
|
86
|
+
return 'సాయంత్రం';
|
|
87
|
+
} else {
|
|
88
|
+
return 'రాత్రి';
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
week: {
|
|
92
|
+
dow: 0, // Sunday is the first day of the week.
|
|
93
|
+
doy: 6, // The week that contains Jan 6th is the first week of the year.
|
|
94
|
+
},
|
|
95
|
+
});
|
|
96
|
+
|
|
97
|
+
return te;
|
|
98
|
+
|
|
99
|
+
})));
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Tetun Dili (East Timor) [tet]
|
|
3
|
+
//! author : Joshua Brooks : https://github.com/joshbrooks
|
|
4
|
+
//! author : Onorio De J. Afonso : https://github.com/marobo
|
|
5
|
+
//! author : Sonia Simoes : https://github.com/soniasimoes
|
|
6
|
+
|
|
7
|
+
;(function (global, factory) {
|
|
8
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
9
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
10
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
11
|
+
factory(global.moment)
|
|
12
|
+
}(this, (function (moment) { 'use strict';
|
|
13
|
+
|
|
14
|
+
//! moment.js locale configuration
|
|
15
|
+
|
|
16
|
+
var tet = moment.defineLocale('tet', {
|
|
17
|
+
months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
|
|
18
|
+
'_'
|
|
19
|
+
),
|
|
20
|
+
monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
|
|
21
|
+
weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
|
|
22
|
+
weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
|
|
23
|
+
weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'HH:mm',
|
|
26
|
+
LTS: 'HH:mm:ss',
|
|
27
|
+
L: 'DD/MM/YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
30
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Ohin iha] LT',
|
|
34
|
+
nextDay: '[Aban iha] LT',
|
|
35
|
+
nextWeek: 'dddd [iha] LT',
|
|
36
|
+
lastDay: '[Horiseik iha] LT',
|
|
37
|
+
lastWeek: 'dddd [semana kotuk] [iha] LT',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'iha %s',
|
|
42
|
+
past: '%s liuba',
|
|
43
|
+
s: 'segundu balun',
|
|
44
|
+
ss: 'segundu %d',
|
|
45
|
+
m: 'minutu ida',
|
|
46
|
+
mm: 'minutu %d',
|
|
47
|
+
h: 'oras ida',
|
|
48
|
+
hh: 'oras %d',
|
|
49
|
+
d: 'loron ida',
|
|
50
|
+
dd: 'loron %d',
|
|
51
|
+
M: 'fulan ida',
|
|
52
|
+
MM: 'fulan %d',
|
|
53
|
+
y: 'tinan ida',
|
|
54
|
+
yy: 'tinan %d',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
var b = number % 10,
|
|
59
|
+
output =
|
|
60
|
+
~~((number % 100) / 10) === 1
|
|
61
|
+
? 'th'
|
|
62
|
+
: b === 1
|
|
63
|
+
? 'st'
|
|
64
|
+
: b === 2
|
|
65
|
+
? 'nd'
|
|
66
|
+
: b === 3
|
|
67
|
+
? 'rd'
|
|
68
|
+
: 'th';
|
|
69
|
+
return number + output;
|
|
70
|
+
},
|
|
71
|
+
week: {
|
|
72
|
+
dow: 1, // Monday is the first day of the week.
|
|
73
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
return tet;
|
|
78
|
+
|
|
79
|
+
})));
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Tajik [tg]
|
|
3
|
+
//! author : Orif N. Jr. : https://github.com/orif-jr
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var suffixes = {
|
|
15
|
+
0: '-ум',
|
|
16
|
+
1: '-ум',
|
|
17
|
+
2: '-юм',
|
|
18
|
+
3: '-юм',
|
|
19
|
+
4: '-ум',
|
|
20
|
+
5: '-ум',
|
|
21
|
+
6: '-ум',
|
|
22
|
+
7: '-ум',
|
|
23
|
+
8: '-ум',
|
|
24
|
+
9: '-ум',
|
|
25
|
+
10: '-ум',
|
|
26
|
+
12: '-ум',
|
|
27
|
+
13: '-ум',
|
|
28
|
+
20: '-ум',
|
|
29
|
+
30: '-юм',
|
|
30
|
+
40: '-ум',
|
|
31
|
+
50: '-ум',
|
|
32
|
+
60: '-ум',
|
|
33
|
+
70: '-ум',
|
|
34
|
+
80: '-ум',
|
|
35
|
+
90: '-ум',
|
|
36
|
+
100: '-ум',
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
var tg = moment.defineLocale('tg', {
|
|
40
|
+
months: {
|
|
41
|
+
format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split(
|
|
42
|
+
'_'
|
|
43
|
+
),
|
|
44
|
+
standalone:
|
|
45
|
+
'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
|
|
46
|
+
'_'
|
|
47
|
+
),
|
|
48
|
+
},
|
|
49
|
+
monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
|
|
50
|
+
weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(
|
|
51
|
+
'_'
|
|
52
|
+
),
|
|
53
|
+
weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
|
|
54
|
+
weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
|
|
55
|
+
longDateFormat: {
|
|
56
|
+
LT: 'HH:mm',
|
|
57
|
+
LTS: 'HH:mm:ss',
|
|
58
|
+
L: 'DD.MM.YYYY',
|
|
59
|
+
LL: 'D MMMM YYYY',
|
|
60
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
61
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
62
|
+
},
|
|
63
|
+
calendar: {
|
|
64
|
+
sameDay: '[Имрӯз соати] LT',
|
|
65
|
+
nextDay: '[Фардо соати] LT',
|
|
66
|
+
lastDay: '[Дирӯз соати] LT',
|
|
67
|
+
nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
|
|
68
|
+
lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
|
|
69
|
+
sameElse: 'L',
|
|
70
|
+
},
|
|
71
|
+
relativeTime: {
|
|
72
|
+
future: 'баъди %s',
|
|
73
|
+
past: '%s пеш',
|
|
74
|
+
s: 'якчанд сония',
|
|
75
|
+
m: 'як дақиқа',
|
|
76
|
+
mm: '%d дақиқа',
|
|
77
|
+
h: 'як соат',
|
|
78
|
+
hh: '%d соат',
|
|
79
|
+
d: 'як рӯз',
|
|
80
|
+
dd: '%d рӯз',
|
|
81
|
+
M: 'як моҳ',
|
|
82
|
+
MM: '%d моҳ',
|
|
83
|
+
y: 'як сол',
|
|
84
|
+
yy: '%d сол',
|
|
85
|
+
},
|
|
86
|
+
meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
|
|
87
|
+
meridiemHour: function (hour, meridiem) {
|
|
88
|
+
if (hour === 12) {
|
|
89
|
+
hour = 0;
|
|
90
|
+
}
|
|
91
|
+
if (meridiem === 'шаб') {
|
|
92
|
+
return hour < 4 ? hour : hour + 12;
|
|
93
|
+
} else if (meridiem === 'субҳ') {
|
|
94
|
+
return hour;
|
|
95
|
+
} else if (meridiem === 'рӯз') {
|
|
96
|
+
return hour >= 11 ? hour : hour + 12;
|
|
97
|
+
} else if (meridiem === 'бегоҳ') {
|
|
98
|
+
return hour + 12;
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
meridiem: function (hour, minute, isLower) {
|
|
102
|
+
if (hour < 4) {
|
|
103
|
+
return 'шаб';
|
|
104
|
+
} else if (hour < 11) {
|
|
105
|
+
return 'субҳ';
|
|
106
|
+
} else if (hour < 16) {
|
|
107
|
+
return 'рӯз';
|
|
108
|
+
} else if (hour < 19) {
|
|
109
|
+
return 'бегоҳ';
|
|
110
|
+
} else {
|
|
111
|
+
return 'шаб';
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
|
|
115
|
+
ordinal: function (number) {
|
|
116
|
+
var a = number % 10,
|
|
117
|
+
b = number >= 100 ? 100 : null;
|
|
118
|
+
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
|
119
|
+
},
|
|
120
|
+
week: {
|
|
121
|
+
dow: 1, // Monday is the first day of the week.
|
|
122
|
+
doy: 7, // The week that contains Jan 1th is the first week of the year.
|
|
123
|
+
},
|
|
124
|
+
});
|
|
125
|
+
|
|
126
|
+
return tg;
|
|
127
|
+
|
|
128
|
+
})));
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Thai [th]
|
|
3
|
+
//! author : Kridsada Thanabulpong : https://github.com/sirn
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var th = moment.defineLocale('th', {
|
|
15
|
+
months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort:
|
|
19
|
+
'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
monthsParseExact: true,
|
|
23
|
+
weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
|
|
24
|
+
weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
|
|
25
|
+
weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
|
|
26
|
+
weekdaysParseExact: true,
|
|
27
|
+
longDateFormat: {
|
|
28
|
+
LT: 'H:mm',
|
|
29
|
+
LTS: 'H:mm:ss',
|
|
30
|
+
L: 'DD/MM/YYYY',
|
|
31
|
+
LL: 'D MMMM YYYY',
|
|
32
|
+
LLL: 'D MMMM YYYY เวลา H:mm',
|
|
33
|
+
LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',
|
|
34
|
+
},
|
|
35
|
+
meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
|
|
36
|
+
isPM: function (input) {
|
|
37
|
+
return input === 'หลังเที่ยง';
|
|
38
|
+
},
|
|
39
|
+
meridiem: function (hour, minute, isLower) {
|
|
40
|
+
if (hour < 12) {
|
|
41
|
+
return 'ก่อนเที่ยง';
|
|
42
|
+
} else {
|
|
43
|
+
return 'หลังเที่ยง';
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
calendar: {
|
|
47
|
+
sameDay: '[วันนี้ เวลา] LT',
|
|
48
|
+
nextDay: '[พรุ่งนี้ เวลา] LT',
|
|
49
|
+
nextWeek: 'dddd[หน้า เวลา] LT',
|
|
50
|
+
lastDay: '[เมื่อวานนี้ เวลา] LT',
|
|
51
|
+
lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
|
|
52
|
+
sameElse: 'L',
|
|
53
|
+
},
|
|
54
|
+
relativeTime: {
|
|
55
|
+
future: 'อีก %s',
|
|
56
|
+
past: '%sที่แล้ว',
|
|
57
|
+
s: 'ไม่กี่วินาที',
|
|
58
|
+
ss: '%d วินาที',
|
|
59
|
+
m: '1 นาที',
|
|
60
|
+
mm: '%d นาที',
|
|
61
|
+
h: '1 ชั่วโมง',
|
|
62
|
+
hh: '%d ชั่วโมง',
|
|
63
|
+
d: '1 วัน',
|
|
64
|
+
dd: '%d วัน',
|
|
65
|
+
w: '1 สัปดาห์',
|
|
66
|
+
ww: '%d สัปดาห์',
|
|
67
|
+
M: '1 เดือน',
|
|
68
|
+
MM: '%d เดือน',
|
|
69
|
+
y: '1 ปี',
|
|
70
|
+
yy: '%d ปี',
|
|
71
|
+
},
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
return th;
|
|
75
|
+
|
|
76
|
+
})));
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Turkmen [tk]
|
|
3
|
+
//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var suffixes = {
|
|
15
|
+
1: "'inji",
|
|
16
|
+
5: "'inji",
|
|
17
|
+
8: "'inji",
|
|
18
|
+
70: "'inji",
|
|
19
|
+
80: "'inji",
|
|
20
|
+
2: "'nji",
|
|
21
|
+
7: "'nji",
|
|
22
|
+
20: "'nji",
|
|
23
|
+
50: "'nji",
|
|
24
|
+
3: "'ünji",
|
|
25
|
+
4: "'ünji",
|
|
26
|
+
100: "'ünji",
|
|
27
|
+
6: "'njy",
|
|
28
|
+
9: "'unjy",
|
|
29
|
+
10: "'unjy",
|
|
30
|
+
30: "'unjy",
|
|
31
|
+
60: "'ynjy",
|
|
32
|
+
90: "'ynjy",
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var tk = moment.defineLocale('tk', {
|
|
36
|
+
months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(
|
|
37
|
+
'_'
|
|
38
|
+
),
|
|
39
|
+
monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
|
|
40
|
+
weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(
|
|
41
|
+
'_'
|
|
42
|
+
),
|
|
43
|
+
weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
|
|
44
|
+
weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
|
|
45
|
+
longDateFormat: {
|
|
46
|
+
LT: 'HH:mm',
|
|
47
|
+
LTS: 'HH:mm:ss',
|
|
48
|
+
L: 'DD.MM.YYYY',
|
|
49
|
+
LL: 'D MMMM YYYY',
|
|
50
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
51
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
52
|
+
},
|
|
53
|
+
calendar: {
|
|
54
|
+
sameDay: '[bugün sagat] LT',
|
|
55
|
+
nextDay: '[ertir sagat] LT',
|
|
56
|
+
nextWeek: '[indiki] dddd [sagat] LT',
|
|
57
|
+
lastDay: '[düýn] LT',
|
|
58
|
+
lastWeek: '[geçen] dddd [sagat] LT',
|
|
59
|
+
sameElse: 'L',
|
|
60
|
+
},
|
|
61
|
+
relativeTime: {
|
|
62
|
+
future: '%s soň',
|
|
63
|
+
past: '%s öň',
|
|
64
|
+
s: 'birnäçe sekunt',
|
|
65
|
+
m: 'bir minut',
|
|
66
|
+
mm: '%d minut',
|
|
67
|
+
h: 'bir sagat',
|
|
68
|
+
hh: '%d sagat',
|
|
69
|
+
d: 'bir gün',
|
|
70
|
+
dd: '%d gün',
|
|
71
|
+
M: 'bir aý',
|
|
72
|
+
MM: '%d aý',
|
|
73
|
+
y: 'bir ýyl',
|
|
74
|
+
yy: '%d ýyl',
|
|
75
|
+
},
|
|
76
|
+
ordinal: function (number, period) {
|
|
77
|
+
switch (period) {
|
|
78
|
+
case 'd':
|
|
79
|
+
case 'D':
|
|
80
|
+
case 'Do':
|
|
81
|
+
case 'DD':
|
|
82
|
+
return number;
|
|
83
|
+
default:
|
|
84
|
+
if (number === 0) {
|
|
85
|
+
// special case for zero
|
|
86
|
+
return number + "'unjy";
|
|
87
|
+
}
|
|
88
|
+
var a = number % 10,
|
|
89
|
+
b = (number % 100) - a,
|
|
90
|
+
c = number >= 100 ? 100 : null;
|
|
91
|
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
week: {
|
|
95
|
+
dow: 1, // Monday is the first day of the week.
|
|
96
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
return tk;
|
|
101
|
+
|
|
102
|
+
})));
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Tagalog (Philippines) [tl-ph]
|
|
3
|
+
//! author : Dan Hagman : https://github.com/hagmandan
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var tlPh = moment.defineLocale('tl-ph', {
|
|
15
|
+
months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
|
19
|
+
weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
|
23
|
+
weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'HH:mm',
|
|
26
|
+
LTS: 'HH:mm:ss',
|
|
27
|
+
L: 'MM/D/YYYY',
|
|
28
|
+
LL: 'MMMM D, YYYY',
|
|
29
|
+
LLL: 'MMMM D, YYYY HH:mm',
|
|
30
|
+
LLLL: 'dddd, MMMM DD, YYYY HH:mm',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: 'LT [ngayong araw]',
|
|
34
|
+
nextDay: '[Bukas ng] LT',
|
|
35
|
+
nextWeek: 'LT [sa susunod na] dddd',
|
|
36
|
+
lastDay: 'LT [kahapon]',
|
|
37
|
+
lastWeek: 'LT [noong nakaraang] dddd',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'sa loob ng %s',
|
|
42
|
+
past: '%s ang nakalipas',
|
|
43
|
+
s: 'ilang segundo',
|
|
44
|
+
ss: '%d segundo',
|
|
45
|
+
m: 'isang minuto',
|
|
46
|
+
mm: '%d minuto',
|
|
47
|
+
h: 'isang oras',
|
|
48
|
+
hh: '%d oras',
|
|
49
|
+
d: 'isang araw',
|
|
50
|
+
dd: '%d araw',
|
|
51
|
+
M: 'isang buwan',
|
|
52
|
+
MM: '%d buwan',
|
|
53
|
+
y: 'isang taon',
|
|
54
|
+
yy: '%d taon',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
return number;
|
|
59
|
+
},
|
|
60
|
+
week: {
|
|
61
|
+
dow: 1, // Monday is the first day of the week.
|
|
62
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
return tlPh;
|
|
67
|
+
|
|
68
|
+
})));
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Klingon [tlh]
|
|
3
|
+
//! author : Dominika Kruk : https://github.com/amaranthrose
|
|
4
|
+
|
|
5
|
+
;(function (global, factory) {
|
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
9
|
+
factory(global.moment)
|
|
10
|
+
}(this, (function (moment) { 'use strict';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
|
|
15
|
+
|
|
16
|
+
function translateFuture(output) {
|
|
17
|
+
var time = output;
|
|
18
|
+
time =
|
|
19
|
+
output.indexOf('jaj') !== -1
|
|
20
|
+
? time.slice(0, -3) + 'leS'
|
|
21
|
+
: output.indexOf('jar') !== -1
|
|
22
|
+
? time.slice(0, -3) + 'waQ'
|
|
23
|
+
: output.indexOf('DIS') !== -1
|
|
24
|
+
? time.slice(0, -3) + 'nem'
|
|
25
|
+
: time + ' pIq';
|
|
26
|
+
return time;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function translatePast(output) {
|
|
30
|
+
var time = output;
|
|
31
|
+
time =
|
|
32
|
+
output.indexOf('jaj') !== -1
|
|
33
|
+
? time.slice(0, -3) + 'Hu’'
|
|
34
|
+
: output.indexOf('jar') !== -1
|
|
35
|
+
? time.slice(0, -3) + 'wen'
|
|
36
|
+
: output.indexOf('DIS') !== -1
|
|
37
|
+
? time.slice(0, -3) + 'ben'
|
|
38
|
+
: time + ' ret';
|
|
39
|
+
return time;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function translate(number, withoutSuffix, string, isFuture) {
|
|
43
|
+
var numberNoun = numberAsNoun(number);
|
|
44
|
+
switch (string) {
|
|
45
|
+
case 'ss':
|
|
46
|
+
return numberNoun + ' lup';
|
|
47
|
+
case 'mm':
|
|
48
|
+
return numberNoun + ' tup';
|
|
49
|
+
case 'hh':
|
|
50
|
+
return numberNoun + ' rep';
|
|
51
|
+
case 'dd':
|
|
52
|
+
return numberNoun + ' jaj';
|
|
53
|
+
case 'MM':
|
|
54
|
+
return numberNoun + ' jar';
|
|
55
|
+
case 'yy':
|
|
56
|
+
return numberNoun + ' DIS';
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function numberAsNoun(number) {
|
|
61
|
+
var hundred = Math.floor((number % 1000) / 100),
|
|
62
|
+
ten = Math.floor((number % 100) / 10),
|
|
63
|
+
one = number % 10,
|
|
64
|
+
word = '';
|
|
65
|
+
if (hundred > 0) {
|
|
66
|
+
word += numbersNouns[hundred] + 'vatlh';
|
|
67
|
+
}
|
|
68
|
+
if (ten > 0) {
|
|
69
|
+
word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
|
|
70
|
+
}
|
|
71
|
+
if (one > 0) {
|
|
72
|
+
word += (word !== '' ? ' ' : '') + numbersNouns[one];
|
|
73
|
+
}
|
|
74
|
+
return word === '' ? 'pagh' : word;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
var tlh = moment.defineLocale('tlh', {
|
|
78
|
+
months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(
|
|
79
|
+
'_'
|
|
80
|
+
),
|
|
81
|
+
monthsShort:
|
|
82
|
+
'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(
|
|
83
|
+
'_'
|
|
84
|
+
),
|
|
85
|
+
monthsParseExact: true,
|
|
86
|
+
weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
|
|
87
|
+
'_'
|
|
88
|
+
),
|
|
89
|
+
weekdaysShort:
|
|
90
|
+
'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
|
91
|
+
weekdaysMin:
|
|
92
|
+
'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
|
93
|
+
longDateFormat: {
|
|
94
|
+
LT: 'HH:mm',
|
|
95
|
+
LTS: 'HH:mm:ss',
|
|
96
|
+
L: 'DD.MM.YYYY',
|
|
97
|
+
LL: 'D MMMM YYYY',
|
|
98
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
99
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
100
|
+
},
|
|
101
|
+
calendar: {
|
|
102
|
+
sameDay: '[DaHjaj] LT',
|
|
103
|
+
nextDay: '[wa’leS] LT',
|
|
104
|
+
nextWeek: 'LLL',
|
|
105
|
+
lastDay: '[wa’Hu’] LT',
|
|
106
|
+
lastWeek: 'LLL',
|
|
107
|
+
sameElse: 'L',
|
|
108
|
+
},
|
|
109
|
+
relativeTime: {
|
|
110
|
+
future: translateFuture,
|
|
111
|
+
past: translatePast,
|
|
112
|
+
s: 'puS lup',
|
|
113
|
+
ss: translate,
|
|
114
|
+
m: 'wa’ tup',
|
|
115
|
+
mm: translate,
|
|
116
|
+
h: 'wa’ rep',
|
|
117
|
+
hh: translate,
|
|
118
|
+
d: 'wa’ jaj',
|
|
119
|
+
dd: translate,
|
|
120
|
+
M: 'wa’ jar',
|
|
121
|
+
MM: translate,
|
|
122
|
+
y: 'wa’ DIS',
|
|
123
|
+
yy: translate,
|
|
124
|
+
},
|
|
125
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
126
|
+
ordinal: '%d.',
|
|
127
|
+
week: {
|
|
128
|
+
dow: 1, // Monday is the first day of the week.
|
|
129
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
130
|
+
},
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
return tlh;
|
|
134
|
+
|
|
135
|
+
})));
|