javascript-time-ago 2.5.11 → 2.6.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/CHANGELOG.md +10 -1
- package/README.md +410 -272
- package/bundle/javascript-time-ago.js +1 -1
- package/bundle/javascript-time-ago.js.map +1 -1
- package/bundle/javascript-time-ago.min.js +1 -1
- package/bundle/javascript-time-ago.min.js.map +1 -1
- package/commonjs/FullDateFormatter.js +72 -0
- package/commonjs/FullDateFormatter.js.map +1 -0
- package/commonjs/FullDateFormatter.test.js +26 -0
- package/commonjs/FullDateFormatter.test.js.map +1 -0
- package/commonjs/LocaleDataStore.js +2 -5
- package/commonjs/LocaleDataStore.js.map +1 -1
- package/commonjs/PropTypes.js +12 -12
- package/commonjs/PropTypes.js.map +1 -1
- package/commonjs/TimeAgo.js +300 -253
- package/commonjs/TimeAgo.js.map +1 -1
- package/commonjs/TimeAgo.test.js +214 -135
- package/commonjs/TimeAgo.test.js.map +1 -1
- package/commonjs/cache.js +7 -25
- package/commonjs/cache.js.map +1 -1
- package/commonjs/cache.test.js +1 -3
- package/commonjs/cache.test.js.map +1 -1
- package/commonjs/isStyleObject.js +9 -9
- package/commonjs/isStyleObject.js.map +1 -1
- package/commonjs/isStyleObject.test.js +1 -3
- package/commonjs/isStyleObject.test.js.map +1 -1
- package/commonjs/locale.js +6 -19
- package/commonjs/locale.js.map +1 -1
- package/commonjs/locale.test.js +2 -11
- package/commonjs/locale.test.js.map +1 -1
- package/commonjs/round.js +2 -5
- package/commonjs/round.js.map +1 -1
- package/commonjs/steps/approximate.js +1 -4
- package/commonjs/steps/approximate.js.map +1 -1
- package/commonjs/steps/approximate.test.js +1 -6
- package/commonjs/steps/approximate.test.js.map +1 -1
- package/commonjs/steps/getStep.js +36 -53
- package/commonjs/steps/getStep.js.map +1 -1
- package/commonjs/steps/getStep.test.js +7 -7
- package/commonjs/steps/getStep.test.js.map +1 -1
- package/commonjs/steps/getStepDenominator.js +2 -5
- package/commonjs/steps/getStepDenominator.js.map +1 -1
- package/commonjs/steps/getStepDenominator.test.js +1 -3
- package/commonjs/steps/getStepDenominator.test.js.map +1 -1
- package/commonjs/steps/getStepMinTime.js +31 -39
- package/commonjs/steps/getStepMinTime.js.map +1 -1
- package/commonjs/steps/getStepMinTime.test.js +1 -3
- package/commonjs/steps/getStepMinTime.test.js.map +1 -1
- package/commonjs/steps/getTimeToNextUpdate.js +27 -41
- package/commonjs/steps/getTimeToNextUpdate.js.map +1 -1
- package/commonjs/steps/getTimeToNextUpdate.test.js +29 -25
- package/commonjs/steps/getTimeToNextUpdate.test.js.map +1 -1
- package/commonjs/steps/getTimeToNextUpdateForUnit.js +3 -12
- package/commonjs/steps/getTimeToNextUpdateForUnit.js.map +1 -1
- package/commonjs/steps/getTimeToNextUpdateForUnit.test.js +1 -7
- package/commonjs/steps/getTimeToNextUpdateForUnit.test.js.map +1 -1
- package/commonjs/steps/helpers.js +1 -2
- package/commonjs/steps/helpers.js.map +1 -1
- package/commonjs/steps/helpers.test.js +0 -1
- package/commonjs/steps/helpers.test.js.map +1 -1
- package/commonjs/steps/index.js +1 -6
- package/commonjs/steps/index.js.map +1 -1
- package/commonjs/steps/renameLegacyProperties.js +6 -14
- package/commonjs/steps/renameLegacyProperties.js.map +1 -1
- package/commonjs/steps/renameLegacyProperties.test.js +1 -3
- package/commonjs/steps/renameLegacyProperties.test.js.map +1 -1
- package/commonjs/steps/round.js +1 -2
- package/commonjs/steps/round.js.map +1 -1
- package/commonjs/steps/round.test.js +1 -7
- package/commonjs/steps/round.test.js.map +1 -1
- package/commonjs/steps/units.js +10 -21
- package/commonjs/steps/units.js.map +1 -1
- package/commonjs/style/approximate.js +2 -6
- package/commonjs/style/approximate.js.map +1 -1
- package/commonjs/style/approximateTime.js +2 -6
- package/commonjs/style/approximateTime.js.map +1 -1
- package/commonjs/style/approximateTime.test.js +116 -75
- package/commonjs/style/approximateTime.test.js.map +1 -1
- package/commonjs/style/getStyleByName.js +3 -29
- package/commonjs/style/getStyleByName.js.map +1 -1
- package/commonjs/style/mini.js +9 -6
- package/commonjs/style/mini.js.map +1 -1
- package/commonjs/style/mini.test.js +15 -25
- package/commonjs/style/mini.test.js.map +1 -1
- package/commonjs/style/miniMinute.js +8 -13
- package/commonjs/style/miniMinute.js.map +1 -1
- package/commonjs/style/miniMinute.test.js +11 -17
- package/commonjs/style/miniMinute.test.js.map +1 -1
- package/commonjs/style/miniMinuteNow.js +8 -13
- package/commonjs/style/miniMinuteNow.js.map +1 -1
- package/commonjs/style/miniMinuteNow.test.js +11 -17
- package/commonjs/style/miniMinuteNow.test.js.map +1 -1
- package/commonjs/style/miniNow.js +8 -13
- package/commonjs/style/miniNow.js.map +1 -1
- package/commonjs/style/miniNow.test.js +11 -17
- package/commonjs/style/miniNow.test.js.map +1 -1
- package/commonjs/style/renameLegacyProperties.js +7 -13
- package/commonjs/style/renameLegacyProperties.js.map +1 -1
- package/commonjs/style/renameLegacyProperties.test.js +1 -4
- package/commonjs/style/renameLegacyProperties.test.js.map +1 -1
- package/commonjs/style/round.js +2 -6
- package/commonjs/style/round.js.map +1 -1
- package/commonjs/style/round.test.js +51 -67
- package/commonjs/style/round.test.js.map +1 -1
- package/commonjs/style/roundMinute.js +8 -13
- package/commonjs/style/roundMinute.js.map +1 -1
- package/commonjs/style/roundMinute.test.js +20 -27
- package/commonjs/style/roundMinute.test.js.map +1 -1
- package/commonjs/style/twitter.js +34 -39
- package/commonjs/style/twitter.js.map +1 -1
- package/commonjs/style/twitter.test.js +54 -57
- package/commonjs/style/twitter.test.js.map +1 -1
- package/commonjs/style/twitterFirstMinute.js +10 -15
- package/commonjs/style/twitterFirstMinute.js.map +1 -1
- package/commonjs/style/twitterFirstMinute.test.js +16 -23
- package/commonjs/style/twitterFirstMinute.test.js.map +1 -1
- package/commonjs/style/twitterMinute.js +8 -13
- package/commonjs/style/twitterMinute.js.map +1 -1
- package/commonjs/style/twitterMinute.test.js +20 -25
- package/commonjs/style/twitterMinute.test.js.map +1 -1
- package/commonjs/style/twitterMinuteNow.js +8 -13
- package/commonjs/style/twitterMinuteNow.js.map +1 -1
- package/commonjs/style/twitterMinuteNow.test.js +20 -25
- package/commonjs/style/twitterMinuteNow.test.js.map +1 -1
- package/commonjs/style/twitterNow.js +8 -13
- package/commonjs/style/twitterNow.js.map +1 -1
- package/commonjs/style/twitterNow.test.js +18 -24
- package/commonjs/style/twitterNow.test.js.map +1 -1
- package/full-date-formatter/index.cjs +4 -0
- package/full-date-formatter/index.cjs.js +9 -0
- package/full-date-formatter/index.d.ts +6 -0
- package/full-date-formatter/index.js +1 -0
- package/full-date-formatter/package.json +15 -0
- package/index.cjs +1 -1
- package/index.cjs.js +2 -2
- package/index.d.ts +14 -4
- package/index.js +3 -1
- package/load-all-locales/index.cjs +32 -0
- package/load-all-locales/index.cjs.js +32 -0
- package/load-all-locales/index.js +64 -0
- package/locale/ak/package.json +16 -0
- package/locale/ak.json +267 -0
- package/locale/ak.json.d.ts +4 -0
- package/locale/ak.json.js +267 -0
- package/locale/bal-Latn/package.json +16 -0
- package/locale/bal-Latn.json +240 -0
- package/locale/bal-Latn.json.d.ts +4 -0
- package/locale/bal-Latn.json.js +240 -0
- package/locale/be-tarask/package.json +16 -0
- package/locale/be-tarask.json +259 -0
- package/locale/be-tarask.json.d.ts +4 -0
- package/locale/be-tarask.json.js +259 -0
- package/locale/blo/package.json +16 -0
- package/locale/blo.json +159 -0
- package/locale/blo.json.d.ts +4 -0
- package/locale/blo.json.js +159 -0
- package/locale/bn.json +5 -2
- package/locale/bn.json.js +5 -2
- package/locale/bs.json +8 -2
- package/locale/bs.json.js +8 -2
- package/locale/ccp.json +2 -8
- package/locale/ccp.json.js +2 -8
- package/locale/csw/package.json +16 -0
- package/locale/csw.json +180 -0
- package/locale/csw.json.d.ts +4 -0
- package/locale/csw.json.js +180 -0
- package/locale/cy.json +6 -12
- package/locale/cy.json.js +6 -12
- package/locale/doi/package.json +16 -0
- package/locale/doi.json +159 -0
- package/locale/doi.json.d.ts +4 -0
- package/locale/doi.json.js +159 -0
- package/locale/en-AU.json +12 -12
- package/locale/en-AU.json.js +12 -12
- package/locale/en-CZ/package.json +16 -0
- package/locale/en-CZ.json +219 -0
- package/locale/en-CZ.json.d.ts +4 -0
- package/locale/en-CZ.json.js +219 -0
- package/locale/en-ES/package.json +16 -0
- package/locale/en-ES.json +219 -0
- package/locale/en-ES.json.d.ts +4 -0
- package/locale/en-ES.json.js +219 -0
- package/locale/en-FR/package.json +16 -0
- package/locale/en-FR.json +219 -0
- package/locale/en-FR.json.d.ts +4 -0
- package/locale/en-FR.json.js +219 -0
- package/locale/en-GS/package.json +16 -0
- package/locale/en-GS.json +219 -0
- package/locale/en-GS.json.d.ts +4 -0
- package/locale/en-GS.json.js +219 -0
- package/locale/en-HU/package.json +16 -0
- package/locale/en-HU.json +219 -0
- package/locale/en-HU.json.d.ts +4 -0
- package/locale/en-HU.json.js +219 -0
- package/locale/en-ID/package.json +16 -0
- package/locale/en-ID.json +219 -0
- package/locale/en-ID.json.d.ts +4 -0
- package/locale/en-ID.json.js +219 -0
- package/locale/en-IT/package.json +16 -0
- package/locale/en-IT.json +219 -0
- package/locale/en-IT.json.d.ts +4 -0
- package/locale/en-IT.json.js +219 -0
- package/locale/en-NO/package.json +16 -0
- package/locale/en-NO.json +219 -0
- package/locale/en-NO.json.d.ts +4 -0
- package/locale/en-NO.json.js +219 -0
- package/locale/en-PL/package.json +16 -0
- package/locale/en-PL.json +219 -0
- package/locale/en-PL.json.d.ts +4 -0
- package/locale/en-PL.json.js +219 -0
- package/locale/en-PT/package.json +16 -0
- package/locale/en-PT.json +219 -0
- package/locale/en-PT.json.d.ts +4 -0
- package/locale/en-PT.json.js +219 -0
- package/locale/en-RO/package.json +16 -0
- package/locale/en-RO.json +219 -0
- package/locale/en-RO.json.d.ts +4 -0
- package/locale/en-RO.json.js +219 -0
- package/locale/en-SK/package.json +16 -0
- package/locale/en-SK.json +219 -0
- package/locale/en-SK.json.d.ts +4 -0
- package/locale/en-SK.json.js +219 -0
- package/locale/es-MX.json +12 -9
- package/locale/es-MX.json.js +12 -9
- package/locale/es-SV.json +2 -2
- package/locale/es-SV.json.js +2 -2
- package/locale/eu.json +24 -24
- package/locale/eu.json.js +24 -24
- package/locale/ha.json +119 -65
- package/locale/ha.json.js +119 -65
- package/locale/he.json +0 -6
- package/locale/he.json.js +0 -6
- package/locale/hi-Latn.json +2 -2
- package/locale/hi-Latn.json.js +2 -2
- package/locale/ht/package.json +16 -0
- package/locale/ht.json +207 -0
- package/locale/ht.json.d.ts +4 -0
- package/locale/ht.json.js +207 -0
- package/locale/id.json +1 -1
- package/locale/id.json.js +1 -1
- package/locale/ie/package.json +16 -0
- package/locale/ie.json +159 -0
- package/locale/ie.json.d.ts +4 -0
- package/locale/ie.json.js +159 -0
- package/locale/ig.json +17 -17
- package/locale/ig.json.js +17 -17
- package/locale/ii/package.json +16 -0
- package/locale/ii.json +165 -0
- package/locale/ii.json.d.ts +4 -0
- package/locale/ii.json.js +165 -0
- package/locale/is.json +4 -1
- package/locale/is.json.js +4 -1
- package/locale/kaa/package.json +16 -0
- package/locale/kaa.json +159 -0
- package/locale/kaa.json.d.ts +4 -0
- package/locale/kaa.json.js +159 -0
- package/locale/kok-Latn/package.json +16 -0
- package/locale/kok-Latn.json +159 -0
- package/locale/kok-Latn.json.d.ts +4 -0
- package/locale/kok-Latn.json.js +159 -0
- package/locale/kok.json +8 -8
- package/locale/kok.json.js +8 -8
- package/locale/ks.json +9 -9
- package/locale/ks.json.js +9 -9
- package/locale/ku.json +55 -46
- package/locale/ku.json.js +55 -46
- package/locale/lld/package.json +16 -0
- package/locale/lld.json +291 -0
- package/locale/lld.json.d.ts +4 -0
- package/locale/lld.json.js +291 -0
- package/locale/mi.json +22 -22
- package/locale/mi.json.js +22 -22
- package/locale/ms-Arab/package.json +16 -0
- package/locale/ms-Arab.json +159 -0
- package/locale/ms-Arab.json.d.ts +4 -0
- package/locale/ms-Arab.json.js +159 -0
- package/locale/nb.json +2 -2
- package/locale/nb.json.js +2 -2
- package/locale/ne.json +1 -1
- package/locale/ne.json.js +1 -1
- package/locale/nn.json +4 -4
- package/locale/nn.json.js +4 -4
- package/locale/no.json +2 -2
- package/locale/no.json.js +2 -2
- package/locale/nqo/package.json +16 -0
- package/locale/nqo.json +159 -0
- package/locale/nqo.json.d.ts +4 -0
- package/locale/nqo.json.js +159 -0
- package/locale/om/package.json +16 -0
- package/locale/om.json +213 -0
- package/locale/om.json.d.ts +4 -0
- package/locale/om.json.js +213 -0
- package/locale/or.json +1 -1
- package/locale/or.json.js +1 -1
- package/locale/qu.json +46 -46
- package/locale/qu.json.js +46 -46
- package/locale/rhg/package.json +16 -0
- package/locale/rhg.json +159 -0
- package/locale/rhg.json.d.ts +4 -0
- package/locale/rhg.json.js +159 -0
- package/locale/sl.json +12 -12
- package/locale/sl.json.js +12 -12
- package/locale/sr-Cyrl-BA.json +2 -2
- package/locale/sr-Cyrl-BA.json.js +2 -2
- package/locale/sr-Latn-BA.json +2 -2
- package/locale/sr-Latn-BA.json.js +2 -2
- package/locale/sv.json +1 -1
- package/locale/sv.json.js +1 -1
- package/locale/syr/package.json +16 -0
- package/locale/syr.json +303 -0
- package/locale/syr.json.d.ts +4 -0
- package/locale/syr.json.js +303 -0
- package/locale/ti.json +6 -6
- package/locale/ti.json.js +6 -6
- package/locale/tn/package.json +16 -0
- package/locale/tn.json +159 -0
- package/locale/tn.json.d.ts +4 -0
- package/locale/tn.json.js +159 -0
- package/locale/to.json +26 -26
- package/locale/to.json.js +26 -26
- package/locale/uk.json +1 -1
- package/locale/uk.json.js +1 -1
- package/locale/ur-IN.json +9 -6
- package/locale/ur-IN.json.js +9 -6
- package/locale/vec/package.json +16 -0
- package/locale/vec.json +267 -0
- package/locale/vec.json.d.ts +4 -0
- package/locale/vec.json.js +267 -0
- package/locale/xnr/package.json +16 -0
- package/locale/xnr.json +159 -0
- package/locale/xnr.json.d.ts +4 -0
- package/locale/xnr.json.js +159 -0
- package/locale/yo-BJ.json +17 -17
- package/locale/yo-BJ.json.js +17 -17
- package/locale/yo.json +17 -17
- package/locale/yo.json.js +17 -17
- package/modules/FullDateFormatter.js +67 -0
- package/modules/FullDateFormatter.js.map +1 -0
- package/modules/FullDateFormatter.test.js +22 -0
- package/modules/FullDateFormatter.test.js.map +1 -0
- package/modules/LocaleDataStore.js +2 -3
- package/modules/LocaleDataStore.js.map +1 -1
- package/modules/PropTypes.js +11 -7
- package/modules/PropTypes.js.map +1 -1
- package/modules/TimeAgo.js +299 -237
- package/modules/TimeAgo.js.map +1 -1
- package/modules/TimeAgo.test.js +217 -119
- package/modules/TimeAgo.test.js.map +1 -1
- package/modules/cache.js +6 -22
- package/modules/cache.js.map +1 -1
- package/modules/cache.test.js.map +1 -1
- package/modules/isStyleObject.js +9 -7
- package/modules/isStyleObject.js.map +1 -1
- package/modules/isStyleObject.test.js.map +1 -1
- package/modules/locale.js +6 -16
- package/modules/locale.js.map +1 -1
- package/modules/locale.test.js +0 -4
- package/modules/locale.test.js.map +1 -1
- package/modules/round.js +2 -3
- package/modules/round.js.map +1 -1
- package/modules/steps/approximate.js +6 -2
- package/modules/steps/approximate.js.map +1 -1
- package/modules/steps/approximate.test.js +0 -2
- package/modules/steps/approximate.test.js.map +1 -1
- package/modules/steps/getStep.js +36 -48
- package/modules/steps/getStep.js.map +1 -1
- package/modules/steps/getStep.test.js +6 -2
- package/modules/steps/getStep.test.js.map +1 -1
- package/modules/steps/getStepDenominator.js +2 -3
- package/modules/steps/getStepDenominator.js.map +1 -1
- package/modules/steps/getStepDenominator.test.js.map +1 -1
- package/modules/steps/getStepMinTime.js +31 -36
- package/modules/steps/getStepMinTime.js.map +1 -1
- package/modules/steps/getStepMinTime.test.js.map +1 -1
- package/modules/steps/getTimeToNextUpdate.js +28 -32
- package/modules/steps/getTimeToNextUpdate.js.map +1 -1
- package/modules/steps/getTimeToNextUpdate.test.js +27 -18
- package/modules/steps/getTimeToNextUpdate.test.js.map +1 -1
- package/modules/steps/getTimeToNextUpdateForUnit.js +4 -10
- package/modules/steps/getTimeToNextUpdateForUnit.js.map +1 -1
- package/modules/steps/getTimeToNextUpdateForUnit.test.js +0 -4
- package/modules/steps/getTimeToNextUpdateForUnit.test.js.map +1 -1
- package/modules/steps/helpers.js +1 -1
- package/modules/steps/helpers.js.map +1 -1
- package/modules/steps/helpers.test.js.map +1 -1
- package/modules/steps/index.js +2 -1
- package/modules/steps/index.js.map +1 -1
- package/modules/steps/renameLegacyProperties.js +6 -13
- package/modules/steps/renameLegacyProperties.js.map +1 -1
- package/modules/steps/renameLegacyProperties.test.js.map +1 -1
- package/modules/steps/round.js.map +1 -1
- package/modules/steps/round.test.js +0 -3
- package/modules/steps/round.test.js.map +1 -1
- package/modules/steps/units.js +5 -9
- package/modules/steps/units.js.map +1 -1
- package/modules/style/approximate.js +5 -1
- package/modules/style/approximate.js.map +1 -1
- package/modules/style/approximateTime.js +6 -2
- package/modules/style/approximateTime.js.map +1 -1
- package/modules/style/approximateTime.test.js +115 -70
- package/modules/style/approximateTime.test.js.map +1 -1
- package/modules/style/getStyleByName.js +4 -17
- package/modules/style/getStyleByName.js.map +1 -1
- package/modules/style/mini.js +8 -4
- package/modules/style/mini.js.map +1 -1
- package/modules/style/mini.test.js +14 -20
- package/modules/style/mini.test.js.map +1 -1
- package/modules/style/miniMinute.js +6 -6
- package/modules/style/miniMinute.js.map +1 -1
- package/modules/style/miniMinute.test.js +10 -12
- package/modules/style/miniMinute.test.js.map +1 -1
- package/modules/style/miniMinuteNow.js +6 -6
- package/modules/style/miniMinuteNow.js.map +1 -1
- package/modules/style/miniMinuteNow.test.js +10 -12
- package/modules/style/miniMinuteNow.test.js.map +1 -1
- package/modules/style/miniNow.js +6 -6
- package/modules/style/miniNow.js.map +1 -1
- package/modules/style/miniNow.test.js +10 -12
- package/modules/style/miniNow.test.js.map +1 -1
- package/modules/style/renameLegacyProperties.js +8 -10
- package/modules/style/renameLegacyProperties.js.map +1 -1
- package/modules/style/renameLegacyProperties.test.js +0 -1
- package/modules/style/renameLegacyProperties.test.js.map +1 -1
- package/modules/style/round.js +3 -2
- package/modules/style/round.js.map +1 -1
- package/modules/style/round.test.js +50 -62
- package/modules/style/round.test.js.map +1 -1
- package/modules/style/roundMinute.js +8 -7
- package/modules/style/roundMinute.js.map +1 -1
- package/modules/style/roundMinute.test.js +19 -22
- package/modules/style/roundMinute.test.js.map +1 -1
- package/modules/style/twitter.js +36 -33
- package/modules/style/twitter.js.map +1 -1
- package/modules/style/twitter.test.js +53 -52
- package/modules/style/twitter.test.js.map +1 -1
- package/modules/style/twitterFirstMinute.js +8 -7
- package/modules/style/twitterFirstMinute.js.map +1 -1
- package/modules/style/twitterFirstMinute.test.js +15 -18
- package/modules/style/twitterFirstMinute.test.js.map +1 -1
- package/modules/style/twitterMinute.js +6 -6
- package/modules/style/twitterMinute.js.map +1 -1
- package/modules/style/twitterMinute.test.js +19 -20
- package/modules/style/twitterMinute.test.js.map +1 -1
- package/modules/style/twitterMinuteNow.js +6 -6
- package/modules/style/twitterMinuteNow.js.map +1 -1
- package/modules/style/twitterMinuteNow.test.js +19 -20
- package/modules/style/twitterMinuteNow.test.js.map +1 -1
- package/modules/style/twitterNow.js +6 -6
- package/modules/style/twitterNow.js.map +1 -1
- package/modules/style/twitterNow.test.js +17 -19
- package/modules/style/twitterNow.test.js.map +1 -1
- package/package.json +275 -13
package/locale/he.json.js
CHANGED
|
@@ -8,13 +8,11 @@ export default {
|
|
|
8
8
|
"past": {
|
|
9
9
|
"one": "לפני שנה",
|
|
10
10
|
"two": "לפני שנתיים",
|
|
11
|
-
"many": "לפני {0} שנה",
|
|
12
11
|
"other": "לפני {0} שנים"
|
|
13
12
|
},
|
|
14
13
|
"future": {
|
|
15
14
|
"one": "בעוד שנה",
|
|
16
15
|
"two": "בעוד שנתיים",
|
|
17
|
-
"many": "בעוד {0} שנה",
|
|
18
16
|
"other": "בעוד {0} שנים"
|
|
19
17
|
}
|
|
20
18
|
},
|
|
@@ -128,13 +126,11 @@ export default {
|
|
|
128
126
|
"past": {
|
|
129
127
|
"one": "לפני שנה",
|
|
130
128
|
"two": "לפני שנתיים",
|
|
131
|
-
"many": "לפני {0} שנה",
|
|
132
129
|
"other": "לפני {0} שנים"
|
|
133
130
|
},
|
|
134
131
|
"future": {
|
|
135
132
|
"one": "בעוד שנה",
|
|
136
133
|
"two": "בעוד שנתיים",
|
|
137
|
-
"many": "בעוד {0} שנה",
|
|
138
134
|
"other": "בעוד {0} שנים"
|
|
139
135
|
}
|
|
140
136
|
},
|
|
@@ -247,13 +243,11 @@ export default {
|
|
|
247
243
|
"past": {
|
|
248
244
|
"one": "לפני שנה",
|
|
249
245
|
"two": "לפני שנתיים",
|
|
250
|
-
"many": "לפני {0} שנה",
|
|
251
246
|
"other": "לפני {0} שנים"
|
|
252
247
|
},
|
|
253
248
|
"future": {
|
|
254
249
|
"one": "בעוד שנה",
|
|
255
250
|
"two": "בעוד שנתיים",
|
|
256
|
-
"many": "בעוד {0} שנה",
|
|
257
251
|
"other": "בעוד {0} שנים"
|
|
258
252
|
}
|
|
259
253
|
},
|
package/locale/hi-Latn.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"previous": "pichhla hafta",
|
|
33
33
|
"current": "is hafte",
|
|
34
34
|
"next": "agla hafta",
|
|
35
|
-
"past": "{0} hafte
|
|
35
|
+
"past": "{0} hafte pahle",
|
|
36
36
|
"future": "{0} hafte mein"
|
|
37
37
|
},
|
|
38
38
|
"day": {
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"current": "aaj",
|
|
42
42
|
"next": "aane wala kal",
|
|
43
43
|
"next-2": "aane wala parson",
|
|
44
|
-
"past": "{0} din
|
|
44
|
+
"past": "{0} din pahle",
|
|
45
45
|
"future": "{0} din mein"
|
|
46
46
|
},
|
|
47
47
|
"hour": {
|
package/locale/hi-Latn.json.js
CHANGED
|
@@ -32,7 +32,7 @@ export default {
|
|
|
32
32
|
"previous": "pichhla hafta",
|
|
33
33
|
"current": "is hafte",
|
|
34
34
|
"next": "agla hafta",
|
|
35
|
-
"past": "{0} hafte
|
|
35
|
+
"past": "{0} hafte pahle",
|
|
36
36
|
"future": "{0} hafte mein"
|
|
37
37
|
},
|
|
38
38
|
"day": {
|
|
@@ -41,7 +41,7 @@ export default {
|
|
|
41
41
|
"current": "aaj",
|
|
42
42
|
"next": "aane wala kal",
|
|
43
43
|
"next-2": "aane wala parson",
|
|
44
|
-
"past": "{0} din
|
|
44
|
+
"past": "{0} din pahle",
|
|
45
45
|
"future": "{0} din mein"
|
|
46
46
|
},
|
|
47
47
|
"hour": {
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"name": "javascript-time-ago/locale/ht",
|
|
4
|
+
"main": "../ht.json",
|
|
5
|
+
"module": "../ht.json.js",
|
|
6
|
+
"types": "../ht.json.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "../ht.json.d.ts",
|
|
11
|
+
"import": "../ht.json.js",
|
|
12
|
+
"require": "../ht.json"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": false
|
|
16
|
+
}
|
package/locale/ht.json
ADDED
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
{
|
|
2
|
+
"locale": "ht",
|
|
3
|
+
"long": {
|
|
4
|
+
"year": {
|
|
5
|
+
"previous": "l’année dernière",
|
|
6
|
+
"current": "cette année",
|
|
7
|
+
"next": "l’année prochaine",
|
|
8
|
+
"past": {
|
|
9
|
+
"one": "il y a {0} an",
|
|
10
|
+
"other": "il y a {0} ans"
|
|
11
|
+
},
|
|
12
|
+
"future": {
|
|
13
|
+
"one": "dans {0} an",
|
|
14
|
+
"other": "dans {0} ans"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"quarter": {
|
|
18
|
+
"previous": "le trimestre dernier",
|
|
19
|
+
"current": "ce trimestre",
|
|
20
|
+
"next": "le trimestre prochain",
|
|
21
|
+
"past": {
|
|
22
|
+
"one": "il y a {0} trimestre",
|
|
23
|
+
"other": "il y a {0} trimestres"
|
|
24
|
+
},
|
|
25
|
+
"future": {
|
|
26
|
+
"one": "dans {0} trimestre",
|
|
27
|
+
"other": "dans {0} trimestres"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"month": {
|
|
31
|
+
"previous": "le mois dernier",
|
|
32
|
+
"current": "ce mois-ci",
|
|
33
|
+
"next": "le mois prochain",
|
|
34
|
+
"past": "il y a {0} mois",
|
|
35
|
+
"future": "dans {0} mois"
|
|
36
|
+
},
|
|
37
|
+
"week": {
|
|
38
|
+
"previous": "la semaine dernière",
|
|
39
|
+
"current": "cette semaine",
|
|
40
|
+
"next": "la semaine prochaine",
|
|
41
|
+
"past": {
|
|
42
|
+
"one": "il y a {0} semaine",
|
|
43
|
+
"other": "il y a {0} semaines"
|
|
44
|
+
},
|
|
45
|
+
"future": {
|
|
46
|
+
"one": "dans {0} semaine",
|
|
47
|
+
"other": "dans {0} semaines"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"day": {
|
|
51
|
+
"previous": "hier",
|
|
52
|
+
"previous-2": "avant-hier",
|
|
53
|
+
"current": "aujourd’hui",
|
|
54
|
+
"next": "demain",
|
|
55
|
+
"next-2": "après-demain",
|
|
56
|
+
"past": {
|
|
57
|
+
"one": "il y a {0} jour",
|
|
58
|
+
"other": "il y a {0} jours"
|
|
59
|
+
},
|
|
60
|
+
"future": {
|
|
61
|
+
"one": "dans {0} jour",
|
|
62
|
+
"other": "dans {0} jours"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"hour": {
|
|
66
|
+
"current": "cette heure-ci",
|
|
67
|
+
"past": {
|
|
68
|
+
"one": "il y a {0} heure",
|
|
69
|
+
"other": "il y a {0} heures"
|
|
70
|
+
},
|
|
71
|
+
"future": {
|
|
72
|
+
"one": "dans {0} heure",
|
|
73
|
+
"other": "dans {0} heures"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"minute": {
|
|
77
|
+
"current": "cette minute-ci",
|
|
78
|
+
"past": {
|
|
79
|
+
"one": "il y a {0} minute",
|
|
80
|
+
"other": "il y a {0} minutes"
|
|
81
|
+
},
|
|
82
|
+
"future": {
|
|
83
|
+
"one": "dans {0} minute",
|
|
84
|
+
"other": "dans {0} minutes"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"second": {
|
|
88
|
+
"current": "maintenant",
|
|
89
|
+
"past": {
|
|
90
|
+
"one": "il y a {0} seconde",
|
|
91
|
+
"other": "il y a {0} secondes"
|
|
92
|
+
},
|
|
93
|
+
"future": {
|
|
94
|
+
"one": "dans {0} seconde",
|
|
95
|
+
"other": "dans {0} secondes"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"short": {
|
|
100
|
+
"year": {
|
|
101
|
+
"previous": "l’année dernière",
|
|
102
|
+
"current": "cette année",
|
|
103
|
+
"next": "l’année prochaine",
|
|
104
|
+
"past": "il y a {0} a",
|
|
105
|
+
"future": "dans {0} a"
|
|
106
|
+
},
|
|
107
|
+
"quarter": {
|
|
108
|
+
"previous": "le trimestre dernier",
|
|
109
|
+
"current": "ce trimestre",
|
|
110
|
+
"next": "le trimestre prochain",
|
|
111
|
+
"past": "il y a {0} trim.",
|
|
112
|
+
"future": "dans {0} trim."
|
|
113
|
+
},
|
|
114
|
+
"month": {
|
|
115
|
+
"previous": "le mois dernier",
|
|
116
|
+
"current": "ce mois-ci",
|
|
117
|
+
"next": "le mois prochain",
|
|
118
|
+
"past": "il y a {0} m.",
|
|
119
|
+
"future": "dans {0} m."
|
|
120
|
+
},
|
|
121
|
+
"week": {
|
|
122
|
+
"previous": "la semaine dernière",
|
|
123
|
+
"current": "cette semaine",
|
|
124
|
+
"next": "la semaine prochaine",
|
|
125
|
+
"past": "il y a {0} sem.",
|
|
126
|
+
"future": "dans {0} sem."
|
|
127
|
+
},
|
|
128
|
+
"day": {
|
|
129
|
+
"previous": "hier",
|
|
130
|
+
"previous-2": "avant-hier",
|
|
131
|
+
"current": "aujourd’hui",
|
|
132
|
+
"next": "demain",
|
|
133
|
+
"next-2": "après-demain",
|
|
134
|
+
"past": "il y a {0} j",
|
|
135
|
+
"future": "dans {0} j"
|
|
136
|
+
},
|
|
137
|
+
"hour": {
|
|
138
|
+
"current": "cette heure-ci",
|
|
139
|
+
"past": "il y a {0} h",
|
|
140
|
+
"future": "dans {0} h"
|
|
141
|
+
},
|
|
142
|
+
"minute": {
|
|
143
|
+
"current": "cette minute-ci",
|
|
144
|
+
"past": "il y a {0} min",
|
|
145
|
+
"future": "dans {0} min"
|
|
146
|
+
},
|
|
147
|
+
"second": {
|
|
148
|
+
"current": "maintenant",
|
|
149
|
+
"past": "il y a {0} s",
|
|
150
|
+
"future": "dans {0} s"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"narrow": {
|
|
154
|
+
"year": {
|
|
155
|
+
"previous": "l’année dernière",
|
|
156
|
+
"current": "cette année",
|
|
157
|
+
"next": "l’année prochaine",
|
|
158
|
+
"past": "-{0} a",
|
|
159
|
+
"future": "+{0} a"
|
|
160
|
+
},
|
|
161
|
+
"quarter": {
|
|
162
|
+
"previous": "le trimestre dernier",
|
|
163
|
+
"current": "ce trimestre",
|
|
164
|
+
"next": "le trimestre prochain",
|
|
165
|
+
"past": "-{0} trim.",
|
|
166
|
+
"future": "+{0} trim."
|
|
167
|
+
},
|
|
168
|
+
"month": {
|
|
169
|
+
"previous": "le mois dernier",
|
|
170
|
+
"current": "ce mois-ci",
|
|
171
|
+
"next": "le mois prochain",
|
|
172
|
+
"past": "-{0} m.",
|
|
173
|
+
"future": "+{0} m."
|
|
174
|
+
},
|
|
175
|
+
"week": {
|
|
176
|
+
"previous": "la semaine dernière",
|
|
177
|
+
"current": "cette semaine",
|
|
178
|
+
"next": "la semaine prochaine",
|
|
179
|
+
"past": "-{0} sem.",
|
|
180
|
+
"future": "+{0} sem."
|
|
181
|
+
},
|
|
182
|
+
"day": {
|
|
183
|
+
"previous": "hier",
|
|
184
|
+
"previous-2": "avant-hier",
|
|
185
|
+
"current": "aujourd’hui",
|
|
186
|
+
"next": "demain",
|
|
187
|
+
"next-2": "après-demain",
|
|
188
|
+
"past": "-{0} j",
|
|
189
|
+
"future": "+{0} j"
|
|
190
|
+
},
|
|
191
|
+
"hour": {
|
|
192
|
+
"current": "cette heure-ci",
|
|
193
|
+
"past": "-{0} h",
|
|
194
|
+
"future": "+{0} h"
|
|
195
|
+
},
|
|
196
|
+
"minute": {
|
|
197
|
+
"current": "cette minute-ci",
|
|
198
|
+
"past": "-{0} min",
|
|
199
|
+
"future": "+{0} min"
|
|
200
|
+
},
|
|
201
|
+
"second": {
|
|
202
|
+
"current": "maintenant",
|
|
203
|
+
"past": "-{0} s",
|
|
204
|
+
"future": "+{0} s"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
|
@@ -0,0 +1,207 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
"locale": "ht",
|
|
3
|
+
"long": {
|
|
4
|
+
"year": {
|
|
5
|
+
"previous": "l’année dernière",
|
|
6
|
+
"current": "cette année",
|
|
7
|
+
"next": "l’année prochaine",
|
|
8
|
+
"past": {
|
|
9
|
+
"one": "il y a {0} an",
|
|
10
|
+
"other": "il y a {0} ans"
|
|
11
|
+
},
|
|
12
|
+
"future": {
|
|
13
|
+
"one": "dans {0} an",
|
|
14
|
+
"other": "dans {0} ans"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"quarter": {
|
|
18
|
+
"previous": "le trimestre dernier",
|
|
19
|
+
"current": "ce trimestre",
|
|
20
|
+
"next": "le trimestre prochain",
|
|
21
|
+
"past": {
|
|
22
|
+
"one": "il y a {0} trimestre",
|
|
23
|
+
"other": "il y a {0} trimestres"
|
|
24
|
+
},
|
|
25
|
+
"future": {
|
|
26
|
+
"one": "dans {0} trimestre",
|
|
27
|
+
"other": "dans {0} trimestres"
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"month": {
|
|
31
|
+
"previous": "le mois dernier",
|
|
32
|
+
"current": "ce mois-ci",
|
|
33
|
+
"next": "le mois prochain",
|
|
34
|
+
"past": "il y a {0} mois",
|
|
35
|
+
"future": "dans {0} mois"
|
|
36
|
+
},
|
|
37
|
+
"week": {
|
|
38
|
+
"previous": "la semaine dernière",
|
|
39
|
+
"current": "cette semaine",
|
|
40
|
+
"next": "la semaine prochaine",
|
|
41
|
+
"past": {
|
|
42
|
+
"one": "il y a {0} semaine",
|
|
43
|
+
"other": "il y a {0} semaines"
|
|
44
|
+
},
|
|
45
|
+
"future": {
|
|
46
|
+
"one": "dans {0} semaine",
|
|
47
|
+
"other": "dans {0} semaines"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"day": {
|
|
51
|
+
"previous": "hier",
|
|
52
|
+
"previous-2": "avant-hier",
|
|
53
|
+
"current": "aujourd’hui",
|
|
54
|
+
"next": "demain",
|
|
55
|
+
"next-2": "après-demain",
|
|
56
|
+
"past": {
|
|
57
|
+
"one": "il y a {0} jour",
|
|
58
|
+
"other": "il y a {0} jours"
|
|
59
|
+
},
|
|
60
|
+
"future": {
|
|
61
|
+
"one": "dans {0} jour",
|
|
62
|
+
"other": "dans {0} jours"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"hour": {
|
|
66
|
+
"current": "cette heure-ci",
|
|
67
|
+
"past": {
|
|
68
|
+
"one": "il y a {0} heure",
|
|
69
|
+
"other": "il y a {0} heures"
|
|
70
|
+
},
|
|
71
|
+
"future": {
|
|
72
|
+
"one": "dans {0} heure",
|
|
73
|
+
"other": "dans {0} heures"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"minute": {
|
|
77
|
+
"current": "cette minute-ci",
|
|
78
|
+
"past": {
|
|
79
|
+
"one": "il y a {0} minute",
|
|
80
|
+
"other": "il y a {0} minutes"
|
|
81
|
+
},
|
|
82
|
+
"future": {
|
|
83
|
+
"one": "dans {0} minute",
|
|
84
|
+
"other": "dans {0} minutes"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"second": {
|
|
88
|
+
"current": "maintenant",
|
|
89
|
+
"past": {
|
|
90
|
+
"one": "il y a {0} seconde",
|
|
91
|
+
"other": "il y a {0} secondes"
|
|
92
|
+
},
|
|
93
|
+
"future": {
|
|
94
|
+
"one": "dans {0} seconde",
|
|
95
|
+
"other": "dans {0} secondes"
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
"short": {
|
|
100
|
+
"year": {
|
|
101
|
+
"previous": "l’année dernière",
|
|
102
|
+
"current": "cette année",
|
|
103
|
+
"next": "l’année prochaine",
|
|
104
|
+
"past": "il y a {0} a",
|
|
105
|
+
"future": "dans {0} a"
|
|
106
|
+
},
|
|
107
|
+
"quarter": {
|
|
108
|
+
"previous": "le trimestre dernier",
|
|
109
|
+
"current": "ce trimestre",
|
|
110
|
+
"next": "le trimestre prochain",
|
|
111
|
+
"past": "il y a {0} trim.",
|
|
112
|
+
"future": "dans {0} trim."
|
|
113
|
+
},
|
|
114
|
+
"month": {
|
|
115
|
+
"previous": "le mois dernier",
|
|
116
|
+
"current": "ce mois-ci",
|
|
117
|
+
"next": "le mois prochain",
|
|
118
|
+
"past": "il y a {0} m.",
|
|
119
|
+
"future": "dans {0} m."
|
|
120
|
+
},
|
|
121
|
+
"week": {
|
|
122
|
+
"previous": "la semaine dernière",
|
|
123
|
+
"current": "cette semaine",
|
|
124
|
+
"next": "la semaine prochaine",
|
|
125
|
+
"past": "il y a {0} sem.",
|
|
126
|
+
"future": "dans {0} sem."
|
|
127
|
+
},
|
|
128
|
+
"day": {
|
|
129
|
+
"previous": "hier",
|
|
130
|
+
"previous-2": "avant-hier",
|
|
131
|
+
"current": "aujourd’hui",
|
|
132
|
+
"next": "demain",
|
|
133
|
+
"next-2": "après-demain",
|
|
134
|
+
"past": "il y a {0} j",
|
|
135
|
+
"future": "dans {0} j"
|
|
136
|
+
},
|
|
137
|
+
"hour": {
|
|
138
|
+
"current": "cette heure-ci",
|
|
139
|
+
"past": "il y a {0} h",
|
|
140
|
+
"future": "dans {0} h"
|
|
141
|
+
},
|
|
142
|
+
"minute": {
|
|
143
|
+
"current": "cette minute-ci",
|
|
144
|
+
"past": "il y a {0} min",
|
|
145
|
+
"future": "dans {0} min"
|
|
146
|
+
},
|
|
147
|
+
"second": {
|
|
148
|
+
"current": "maintenant",
|
|
149
|
+
"past": "il y a {0} s",
|
|
150
|
+
"future": "dans {0} s"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
"narrow": {
|
|
154
|
+
"year": {
|
|
155
|
+
"previous": "l’année dernière",
|
|
156
|
+
"current": "cette année",
|
|
157
|
+
"next": "l’année prochaine",
|
|
158
|
+
"past": "-{0} a",
|
|
159
|
+
"future": "+{0} a"
|
|
160
|
+
},
|
|
161
|
+
"quarter": {
|
|
162
|
+
"previous": "le trimestre dernier",
|
|
163
|
+
"current": "ce trimestre",
|
|
164
|
+
"next": "le trimestre prochain",
|
|
165
|
+
"past": "-{0} trim.",
|
|
166
|
+
"future": "+{0} trim."
|
|
167
|
+
},
|
|
168
|
+
"month": {
|
|
169
|
+
"previous": "le mois dernier",
|
|
170
|
+
"current": "ce mois-ci",
|
|
171
|
+
"next": "le mois prochain",
|
|
172
|
+
"past": "-{0} m.",
|
|
173
|
+
"future": "+{0} m."
|
|
174
|
+
},
|
|
175
|
+
"week": {
|
|
176
|
+
"previous": "la semaine dernière",
|
|
177
|
+
"current": "cette semaine",
|
|
178
|
+
"next": "la semaine prochaine",
|
|
179
|
+
"past": "-{0} sem.",
|
|
180
|
+
"future": "+{0} sem."
|
|
181
|
+
},
|
|
182
|
+
"day": {
|
|
183
|
+
"previous": "hier",
|
|
184
|
+
"previous-2": "avant-hier",
|
|
185
|
+
"current": "aujourd’hui",
|
|
186
|
+
"next": "demain",
|
|
187
|
+
"next-2": "après-demain",
|
|
188
|
+
"past": "-{0} j",
|
|
189
|
+
"future": "+{0} j"
|
|
190
|
+
},
|
|
191
|
+
"hour": {
|
|
192
|
+
"current": "cette heure-ci",
|
|
193
|
+
"past": "-{0} h",
|
|
194
|
+
"future": "+{0} h"
|
|
195
|
+
},
|
|
196
|
+
"minute": {
|
|
197
|
+
"current": "cette minute-ci",
|
|
198
|
+
"past": "-{0} min",
|
|
199
|
+
"future": "+{0} min"
|
|
200
|
+
},
|
|
201
|
+
"second": {
|
|
202
|
+
"current": "maintenant",
|
|
203
|
+
"past": "-{0} s",
|
|
204
|
+
"future": "+{0} s"
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
}
|
package/locale/id.json
CHANGED
package/locale/id.json.js
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"private": true,
|
|
3
|
+
"name": "javascript-time-ago/locale/ie",
|
|
4
|
+
"main": "../ie.json",
|
|
5
|
+
"module": "../ie.json.js",
|
|
6
|
+
"types": "../ie.json.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "../ie.json.d.ts",
|
|
11
|
+
"import": "../ie.json.js",
|
|
12
|
+
"require": "../ie.json"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"sideEffects": false
|
|
16
|
+
}
|