@nocobase/plugin-backup-restore 1.3.38-beta → 1.4.0-alpha
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,117 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Turkish [tr]
|
|
3
|
+
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
|
|
4
|
+
//! Burak Yiğit Kaya: https://github.com/BYK
|
|
5
|
+
|
|
6
|
+
;(function (global, factory) {
|
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
10
|
+
factory(global.moment)
|
|
11
|
+
}(this, (function (moment) { 'use strict';
|
|
12
|
+
|
|
13
|
+
//! moment.js locale configuration
|
|
14
|
+
|
|
15
|
+
var suffixes = {
|
|
16
|
+
1: "'inci",
|
|
17
|
+
5: "'inci",
|
|
18
|
+
8: "'inci",
|
|
19
|
+
70: "'inci",
|
|
20
|
+
80: "'inci",
|
|
21
|
+
2: "'nci",
|
|
22
|
+
7: "'nci",
|
|
23
|
+
20: "'nci",
|
|
24
|
+
50: "'nci",
|
|
25
|
+
3: "'üncü",
|
|
26
|
+
4: "'üncü",
|
|
27
|
+
100: "'üncü",
|
|
28
|
+
6: "'ncı",
|
|
29
|
+
9: "'uncu",
|
|
30
|
+
10: "'uncu",
|
|
31
|
+
30: "'uncu",
|
|
32
|
+
60: "'ıncı",
|
|
33
|
+
90: "'ıncı",
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var tr = moment.defineLocale('tr', {
|
|
37
|
+
months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(
|
|
38
|
+
'_'
|
|
39
|
+
),
|
|
40
|
+
monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
|
|
41
|
+
weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(
|
|
42
|
+
'_'
|
|
43
|
+
),
|
|
44
|
+
weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'),
|
|
45
|
+
weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
|
|
46
|
+
meridiem: function (hours, minutes, isLower) {
|
|
47
|
+
if (hours < 12) {
|
|
48
|
+
return isLower ? 'öö' : 'ÖÖ';
|
|
49
|
+
} else {
|
|
50
|
+
return isLower ? 'ös' : 'ÖS';
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
meridiemParse: /öö|ÖÖ|ös|ÖS/,
|
|
54
|
+
isPM: function (input) {
|
|
55
|
+
return input === 'ös' || input === 'ÖS';
|
|
56
|
+
},
|
|
57
|
+
longDateFormat: {
|
|
58
|
+
LT: 'HH:mm',
|
|
59
|
+
LTS: 'HH:mm:ss',
|
|
60
|
+
L: 'DD.MM.YYYY',
|
|
61
|
+
LL: 'D MMMM YYYY',
|
|
62
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
63
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
64
|
+
},
|
|
65
|
+
calendar: {
|
|
66
|
+
sameDay: '[bugün saat] LT',
|
|
67
|
+
nextDay: '[yarın saat] LT',
|
|
68
|
+
nextWeek: '[gelecek] dddd [saat] LT',
|
|
69
|
+
lastDay: '[dün] LT',
|
|
70
|
+
lastWeek: '[geçen] dddd [saat] LT',
|
|
71
|
+
sameElse: 'L',
|
|
72
|
+
},
|
|
73
|
+
relativeTime: {
|
|
74
|
+
future: '%s sonra',
|
|
75
|
+
past: '%s önce',
|
|
76
|
+
s: 'birkaç saniye',
|
|
77
|
+
ss: '%d saniye',
|
|
78
|
+
m: 'bir dakika',
|
|
79
|
+
mm: '%d dakika',
|
|
80
|
+
h: 'bir saat',
|
|
81
|
+
hh: '%d saat',
|
|
82
|
+
d: 'bir gün',
|
|
83
|
+
dd: '%d gün',
|
|
84
|
+
w: 'bir hafta',
|
|
85
|
+
ww: '%d hafta',
|
|
86
|
+
M: 'bir ay',
|
|
87
|
+
MM: '%d ay',
|
|
88
|
+
y: 'bir yıl',
|
|
89
|
+
yy: '%d yıl',
|
|
90
|
+
},
|
|
91
|
+
ordinal: function (number, period) {
|
|
92
|
+
switch (period) {
|
|
93
|
+
case 'd':
|
|
94
|
+
case 'D':
|
|
95
|
+
case 'Do':
|
|
96
|
+
case 'DD':
|
|
97
|
+
return number;
|
|
98
|
+
default:
|
|
99
|
+
if (number === 0) {
|
|
100
|
+
// special case for zero
|
|
101
|
+
return number + "'ıncı";
|
|
102
|
+
}
|
|
103
|
+
var a = number % 10,
|
|
104
|
+
b = (number % 100) - a,
|
|
105
|
+
c = number >= 100 ? 100 : null;
|
|
106
|
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
week: {
|
|
110
|
+
dow: 1, // Monday is the first day of the week.
|
|
111
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
return tr;
|
|
116
|
+
|
|
117
|
+
})));
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Talossan [tzl]
|
|
3
|
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
|
4
|
+
//! author : Iustì Canun
|
|
5
|
+
|
|
6
|
+
;(function (global, factory) {
|
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
10
|
+
factory(global.moment)
|
|
11
|
+
}(this, (function (moment) { 'use strict';
|
|
12
|
+
|
|
13
|
+
//! moment.js locale configuration
|
|
14
|
+
|
|
15
|
+
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
|
16
|
+
// This is currently too difficult (maybe even impossible) to add.
|
|
17
|
+
var tzl = moment.defineLocale('tzl', {
|
|
18
|
+
months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
|
|
19
|
+
'_'
|
|
20
|
+
),
|
|
21
|
+
monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
|
|
22
|
+
weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
|
|
23
|
+
weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
|
|
24
|
+
weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
|
|
25
|
+
longDateFormat: {
|
|
26
|
+
LT: 'HH.mm',
|
|
27
|
+
LTS: 'HH.mm.ss',
|
|
28
|
+
L: 'DD.MM.YYYY',
|
|
29
|
+
LL: 'D. MMMM [dallas] YYYY',
|
|
30
|
+
LLL: 'D. MMMM [dallas] YYYY HH.mm',
|
|
31
|
+
LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
|
|
32
|
+
},
|
|
33
|
+
meridiemParse: /d\'o|d\'a/i,
|
|
34
|
+
isPM: function (input) {
|
|
35
|
+
return "d'o" === input.toLowerCase();
|
|
36
|
+
},
|
|
37
|
+
meridiem: function (hours, minutes, isLower) {
|
|
38
|
+
if (hours > 11) {
|
|
39
|
+
return isLower ? "d'o" : "D'O";
|
|
40
|
+
} else {
|
|
41
|
+
return isLower ? "d'a" : "D'A";
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
calendar: {
|
|
45
|
+
sameDay: '[oxhi à] LT',
|
|
46
|
+
nextDay: '[demà à] LT',
|
|
47
|
+
nextWeek: 'dddd [à] LT',
|
|
48
|
+
lastDay: '[ieiri à] LT',
|
|
49
|
+
lastWeek: '[sür el] dddd [lasteu à] LT',
|
|
50
|
+
sameElse: 'L',
|
|
51
|
+
},
|
|
52
|
+
relativeTime: {
|
|
53
|
+
future: 'osprei %s',
|
|
54
|
+
past: 'ja%s',
|
|
55
|
+
s: processRelativeTime,
|
|
56
|
+
ss: processRelativeTime,
|
|
57
|
+
m: processRelativeTime,
|
|
58
|
+
mm: processRelativeTime,
|
|
59
|
+
h: processRelativeTime,
|
|
60
|
+
hh: processRelativeTime,
|
|
61
|
+
d: processRelativeTime,
|
|
62
|
+
dd: processRelativeTime,
|
|
63
|
+
M: processRelativeTime,
|
|
64
|
+
MM: processRelativeTime,
|
|
65
|
+
y: processRelativeTime,
|
|
66
|
+
yy: processRelativeTime,
|
|
67
|
+
},
|
|
68
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
69
|
+
ordinal: '%d.',
|
|
70
|
+
week: {
|
|
71
|
+
dow: 1, // Monday is the first day of the week.
|
|
72
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
73
|
+
},
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
77
|
+
var format = {
|
|
78
|
+
s: ['viensas secunds', "'iensas secunds"],
|
|
79
|
+
ss: [number + ' secunds', '' + number + ' secunds'],
|
|
80
|
+
m: ["'n míut", "'iens míut"],
|
|
81
|
+
mm: [number + ' míuts', '' + number + ' míuts'],
|
|
82
|
+
h: ["'n þora", "'iensa þora"],
|
|
83
|
+
hh: [number + ' þoras', '' + number + ' þoras'],
|
|
84
|
+
d: ["'n ziua", "'iensa ziua"],
|
|
85
|
+
dd: [number + ' ziuas', '' + number + ' ziuas'],
|
|
86
|
+
M: ["'n mes", "'iens mes"],
|
|
87
|
+
MM: [number + ' mesen', '' + number + ' mesen'],
|
|
88
|
+
y: ["'n ar", "'iens ar"],
|
|
89
|
+
yy: [number + ' ars', '' + number + ' ars'],
|
|
90
|
+
};
|
|
91
|
+
return isFuture
|
|
92
|
+
? format[key][0]
|
|
93
|
+
: withoutSuffix
|
|
94
|
+
? format[key][0]
|
|
95
|
+
: format[key][1];
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return tzl;
|
|
99
|
+
|
|
100
|
+
})));
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Central Atlas Tamazight Latin [tzm-latn]
|
|
3
|
+
//! author : Abdel Said : https://github.com/abdelsaid
|
|
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 tzmLatn = moment.defineLocale('tzm-latn', {
|
|
15
|
+
months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort:
|
|
19
|
+
'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
|
23
|
+
weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
|
24
|
+
weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
|
25
|
+
longDateFormat: {
|
|
26
|
+
LT: 'HH:mm',
|
|
27
|
+
LTS: 'HH:mm:ss',
|
|
28
|
+
L: 'DD/MM/YYYY',
|
|
29
|
+
LL: 'D MMMM YYYY',
|
|
30
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
31
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
|
32
|
+
},
|
|
33
|
+
calendar: {
|
|
34
|
+
sameDay: '[asdkh g] LT',
|
|
35
|
+
nextDay: '[aska g] LT',
|
|
36
|
+
nextWeek: 'dddd [g] LT',
|
|
37
|
+
lastDay: '[assant g] LT',
|
|
38
|
+
lastWeek: 'dddd [g] LT',
|
|
39
|
+
sameElse: 'L',
|
|
40
|
+
},
|
|
41
|
+
relativeTime: {
|
|
42
|
+
future: 'dadkh s yan %s',
|
|
43
|
+
past: 'yan %s',
|
|
44
|
+
s: 'imik',
|
|
45
|
+
ss: '%d imik',
|
|
46
|
+
m: 'minuḍ',
|
|
47
|
+
mm: '%d minuḍ',
|
|
48
|
+
h: 'saɛa',
|
|
49
|
+
hh: '%d tassaɛin',
|
|
50
|
+
d: 'ass',
|
|
51
|
+
dd: '%d ossan',
|
|
52
|
+
M: 'ayowr',
|
|
53
|
+
MM: '%d iyyirn',
|
|
54
|
+
y: 'asgas',
|
|
55
|
+
yy: '%d isgasn',
|
|
56
|
+
},
|
|
57
|
+
week: {
|
|
58
|
+
dow: 6, // Saturday is the first day of the week.
|
|
59
|
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
return tzmLatn;
|
|
64
|
+
|
|
65
|
+
})));
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Central Atlas Tamazight [tzm]
|
|
3
|
+
//! author : Abdel Said : https://github.com/abdelsaid
|
|
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 tzm = moment.defineLocale('tzm', {
|
|
15
|
+
months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort:
|
|
19
|
+
'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
|
23
|
+
weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
|
24
|
+
weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
|
25
|
+
longDateFormat: {
|
|
26
|
+
LT: 'HH:mm',
|
|
27
|
+
LTS: 'HH:mm:ss',
|
|
28
|
+
L: 'DD/MM/YYYY',
|
|
29
|
+
LL: 'D MMMM YYYY',
|
|
30
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
31
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
|
32
|
+
},
|
|
33
|
+
calendar: {
|
|
34
|
+
sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
|
|
35
|
+
nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
|
|
36
|
+
nextWeek: 'dddd [ⴴ] LT',
|
|
37
|
+
lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
|
|
38
|
+
lastWeek: 'dddd [ⴴ] LT',
|
|
39
|
+
sameElse: 'L',
|
|
40
|
+
},
|
|
41
|
+
relativeTime: {
|
|
42
|
+
future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
|
|
43
|
+
past: 'ⵢⴰⵏ %s',
|
|
44
|
+
s: 'ⵉⵎⵉⴽ',
|
|
45
|
+
ss: '%d ⵉⵎⵉⴽ',
|
|
46
|
+
m: 'ⵎⵉⵏⵓⴺ',
|
|
47
|
+
mm: '%d ⵎⵉⵏⵓⴺ',
|
|
48
|
+
h: 'ⵙⴰⵄⴰ',
|
|
49
|
+
hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
|
|
50
|
+
d: 'ⴰⵙⵙ',
|
|
51
|
+
dd: '%d oⵙⵙⴰⵏ',
|
|
52
|
+
M: 'ⴰⵢoⵓⵔ',
|
|
53
|
+
MM: '%d ⵉⵢⵢⵉⵔⵏ',
|
|
54
|
+
y: 'ⴰⵙⴳⴰⵙ',
|
|
55
|
+
yy: '%d ⵉⵙⴳⴰⵙⵏ',
|
|
56
|
+
},
|
|
57
|
+
week: {
|
|
58
|
+
dow: 6, // Saturday is the first day of the week.
|
|
59
|
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
return tzm;
|
|
64
|
+
|
|
65
|
+
})));
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Uyghur (China) [ug-cn]
|
|
3
|
+
//! author: boyaq : https://github.com/boyaq
|
|
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 ugCn = moment.defineLocale('ug-cn', {
|
|
15
|
+
months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort:
|
|
19
|
+
'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
|
|
23
|
+
'_'
|
|
24
|
+
),
|
|
25
|
+
weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
|
|
26
|
+
weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
|
|
27
|
+
longDateFormat: {
|
|
28
|
+
LT: 'HH:mm',
|
|
29
|
+
LTS: 'HH:mm:ss',
|
|
30
|
+
L: 'YYYY-MM-DD',
|
|
31
|
+
LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
|
|
32
|
+
LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
|
|
33
|
+
LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
|
|
34
|
+
},
|
|
35
|
+
meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
|
|
36
|
+
meridiemHour: function (hour, meridiem) {
|
|
37
|
+
if (hour === 12) {
|
|
38
|
+
hour = 0;
|
|
39
|
+
}
|
|
40
|
+
if (
|
|
41
|
+
meridiem === 'يېرىم كېچە' ||
|
|
42
|
+
meridiem === 'سەھەر' ||
|
|
43
|
+
meridiem === 'چۈشتىن بۇرۇن'
|
|
44
|
+
) {
|
|
45
|
+
return hour;
|
|
46
|
+
} else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
|
|
47
|
+
return hour + 12;
|
|
48
|
+
} else {
|
|
49
|
+
return hour >= 11 ? hour : hour + 12;
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
meridiem: function (hour, minute, isLower) {
|
|
53
|
+
var hm = hour * 100 + minute;
|
|
54
|
+
if (hm < 600) {
|
|
55
|
+
return 'يېرىم كېچە';
|
|
56
|
+
} else if (hm < 900) {
|
|
57
|
+
return 'سەھەر';
|
|
58
|
+
} else if (hm < 1130) {
|
|
59
|
+
return 'چۈشتىن بۇرۇن';
|
|
60
|
+
} else if (hm < 1230) {
|
|
61
|
+
return 'چۈش';
|
|
62
|
+
} else if (hm < 1800) {
|
|
63
|
+
return 'چۈشتىن كېيىن';
|
|
64
|
+
} else {
|
|
65
|
+
return 'كەچ';
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
calendar: {
|
|
69
|
+
sameDay: '[بۈگۈن سائەت] LT',
|
|
70
|
+
nextDay: '[ئەتە سائەت] LT',
|
|
71
|
+
nextWeek: '[كېلەركى] dddd [سائەت] LT',
|
|
72
|
+
lastDay: '[تۆنۈگۈن] LT',
|
|
73
|
+
lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
|
|
74
|
+
sameElse: 'L',
|
|
75
|
+
},
|
|
76
|
+
relativeTime: {
|
|
77
|
+
future: '%s كېيىن',
|
|
78
|
+
past: '%s بۇرۇن',
|
|
79
|
+
s: 'نەچچە سېكونت',
|
|
80
|
+
ss: '%d سېكونت',
|
|
81
|
+
m: 'بىر مىنۇت',
|
|
82
|
+
mm: '%d مىنۇت',
|
|
83
|
+
h: 'بىر سائەت',
|
|
84
|
+
hh: '%d سائەت',
|
|
85
|
+
d: 'بىر كۈن',
|
|
86
|
+
dd: '%d كۈن',
|
|
87
|
+
M: 'بىر ئاي',
|
|
88
|
+
MM: '%d ئاي',
|
|
89
|
+
y: 'بىر يىل',
|
|
90
|
+
yy: '%d يىل',
|
|
91
|
+
},
|
|
92
|
+
|
|
93
|
+
dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
|
|
94
|
+
ordinal: function (number, period) {
|
|
95
|
+
switch (period) {
|
|
96
|
+
case 'd':
|
|
97
|
+
case 'D':
|
|
98
|
+
case 'DDD':
|
|
99
|
+
return number + '-كۈنى';
|
|
100
|
+
case 'w':
|
|
101
|
+
case 'W':
|
|
102
|
+
return number + '-ھەپتە';
|
|
103
|
+
default:
|
|
104
|
+
return number;
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
preparse: function (string) {
|
|
108
|
+
return string.replace(/،/g, ',');
|
|
109
|
+
},
|
|
110
|
+
postformat: function (string) {
|
|
111
|
+
return string.replace(/,/g, '،');
|
|
112
|
+
},
|
|
113
|
+
week: {
|
|
114
|
+
// GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
|
|
115
|
+
dow: 1, // Monday is the first day of the week.
|
|
116
|
+
doy: 7, // The week that contains Jan 1st is the first week of the year.
|
|
117
|
+
},
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
return ugCn;
|
|
121
|
+
|
|
122
|
+
})));
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Ukrainian [uk]
|
|
3
|
+
//! author : zemlanin : https://github.com/zemlanin
|
|
4
|
+
//! Author : Menelion Elensúle : https://github.com/Oire
|
|
5
|
+
|
|
6
|
+
;(function (global, factory) {
|
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
10
|
+
factory(global.moment)
|
|
11
|
+
}(this, (function (moment) { 'use strict';
|
|
12
|
+
|
|
13
|
+
//! moment.js locale configuration
|
|
14
|
+
|
|
15
|
+
function plural(word, num) {
|
|
16
|
+
var forms = word.split('_');
|
|
17
|
+
return num % 10 === 1 && num % 100 !== 11
|
|
18
|
+
? forms[0]
|
|
19
|
+
: num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
|
|
20
|
+
? forms[1]
|
|
21
|
+
: forms[2];
|
|
22
|
+
}
|
|
23
|
+
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
|
24
|
+
var format = {
|
|
25
|
+
ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
|
|
26
|
+
mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
|
|
27
|
+
hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
|
|
28
|
+
dd: 'день_дні_днів',
|
|
29
|
+
MM: 'місяць_місяці_місяців',
|
|
30
|
+
yy: 'рік_роки_років',
|
|
31
|
+
};
|
|
32
|
+
if (key === 'm') {
|
|
33
|
+
return withoutSuffix ? 'хвилина' : 'хвилину';
|
|
34
|
+
} else if (key === 'h') {
|
|
35
|
+
return withoutSuffix ? 'година' : 'годину';
|
|
36
|
+
} else {
|
|
37
|
+
return number + ' ' + plural(format[key], +number);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
function weekdaysCaseReplace(m, format) {
|
|
41
|
+
var weekdays = {
|
|
42
|
+
nominative:
|
|
43
|
+
'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(
|
|
44
|
+
'_'
|
|
45
|
+
),
|
|
46
|
+
accusative:
|
|
47
|
+
'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(
|
|
48
|
+
'_'
|
|
49
|
+
),
|
|
50
|
+
genitive:
|
|
51
|
+
'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(
|
|
52
|
+
'_'
|
|
53
|
+
),
|
|
54
|
+
},
|
|
55
|
+
nounCase;
|
|
56
|
+
|
|
57
|
+
if (m === true) {
|
|
58
|
+
return weekdays['nominative']
|
|
59
|
+
.slice(1, 7)
|
|
60
|
+
.concat(weekdays['nominative'].slice(0, 1));
|
|
61
|
+
}
|
|
62
|
+
if (!m) {
|
|
63
|
+
return weekdays['nominative'];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
nounCase = /(\[[ВвУу]\]) ?dddd/.test(format)
|
|
67
|
+
? 'accusative'
|
|
68
|
+
: /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format)
|
|
69
|
+
? 'genitive'
|
|
70
|
+
: 'nominative';
|
|
71
|
+
return weekdays[nounCase][m.day()];
|
|
72
|
+
}
|
|
73
|
+
function processHoursFunction(str) {
|
|
74
|
+
return function () {
|
|
75
|
+
return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
var uk = moment.defineLocale('uk', {
|
|
80
|
+
months: {
|
|
81
|
+
format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(
|
|
82
|
+
'_'
|
|
83
|
+
),
|
|
84
|
+
standalone:
|
|
85
|
+
'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(
|
|
86
|
+
'_'
|
|
87
|
+
),
|
|
88
|
+
},
|
|
89
|
+
monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(
|
|
90
|
+
'_'
|
|
91
|
+
),
|
|
92
|
+
weekdays: weekdaysCaseReplace,
|
|
93
|
+
weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
|
|
94
|
+
weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
|
|
95
|
+
longDateFormat: {
|
|
96
|
+
LT: 'HH:mm',
|
|
97
|
+
LTS: 'HH:mm:ss',
|
|
98
|
+
L: 'DD.MM.YYYY',
|
|
99
|
+
LL: 'D MMMM YYYY р.',
|
|
100
|
+
LLL: 'D MMMM YYYY р., HH:mm',
|
|
101
|
+
LLLL: 'dddd, D MMMM YYYY р., HH:mm',
|
|
102
|
+
},
|
|
103
|
+
calendar: {
|
|
104
|
+
sameDay: processHoursFunction('[Сьогодні '),
|
|
105
|
+
nextDay: processHoursFunction('[Завтра '),
|
|
106
|
+
lastDay: processHoursFunction('[Вчора '),
|
|
107
|
+
nextWeek: processHoursFunction('[У] dddd ['),
|
|
108
|
+
lastWeek: function () {
|
|
109
|
+
switch (this.day()) {
|
|
110
|
+
case 0:
|
|
111
|
+
case 3:
|
|
112
|
+
case 5:
|
|
113
|
+
case 6:
|
|
114
|
+
return processHoursFunction('[Минулої] dddd [').call(this);
|
|
115
|
+
case 1:
|
|
116
|
+
case 2:
|
|
117
|
+
case 4:
|
|
118
|
+
return processHoursFunction('[Минулого] dddd [').call(this);
|
|
119
|
+
}
|
|
120
|
+
},
|
|
121
|
+
sameElse: 'L',
|
|
122
|
+
},
|
|
123
|
+
relativeTime: {
|
|
124
|
+
future: 'за %s',
|
|
125
|
+
past: '%s тому',
|
|
126
|
+
s: 'декілька секунд',
|
|
127
|
+
ss: relativeTimeWithPlural,
|
|
128
|
+
m: relativeTimeWithPlural,
|
|
129
|
+
mm: relativeTimeWithPlural,
|
|
130
|
+
h: 'годину',
|
|
131
|
+
hh: relativeTimeWithPlural,
|
|
132
|
+
d: 'день',
|
|
133
|
+
dd: relativeTimeWithPlural,
|
|
134
|
+
M: 'місяць',
|
|
135
|
+
MM: relativeTimeWithPlural,
|
|
136
|
+
y: 'рік',
|
|
137
|
+
yy: relativeTimeWithPlural,
|
|
138
|
+
},
|
|
139
|
+
// M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
|
|
140
|
+
meridiemParse: /ночі|ранку|дня|вечора/,
|
|
141
|
+
isPM: function (input) {
|
|
142
|
+
return /^(дня|вечора)$/.test(input);
|
|
143
|
+
},
|
|
144
|
+
meridiem: function (hour, minute, isLower) {
|
|
145
|
+
if (hour < 4) {
|
|
146
|
+
return 'ночі';
|
|
147
|
+
} else if (hour < 12) {
|
|
148
|
+
return 'ранку';
|
|
149
|
+
} else if (hour < 17) {
|
|
150
|
+
return 'дня';
|
|
151
|
+
} else {
|
|
152
|
+
return 'вечора';
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
|
|
156
|
+
ordinal: function (number, period) {
|
|
157
|
+
switch (period) {
|
|
158
|
+
case 'M':
|
|
159
|
+
case 'd':
|
|
160
|
+
case 'DDD':
|
|
161
|
+
case 'w':
|
|
162
|
+
case 'W':
|
|
163
|
+
return number + '-й';
|
|
164
|
+
case 'D':
|
|
165
|
+
return number + '-го';
|
|
166
|
+
default:
|
|
167
|
+
return number;
|
|
168
|
+
}
|
|
169
|
+
},
|
|
170
|
+
week: {
|
|
171
|
+
dow: 1, // Monday is the first day of the week.
|
|
172
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
173
|
+
},
|
|
174
|
+
});
|
|
175
|
+
|
|
176
|
+
return uk;
|
|
177
|
+
|
|
178
|
+
})));
|