javascript-time-ago 2.3.5 → 2.3.9
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 +5 -0
- package/README.md +19 -13
- package/bin/generate-locale-messages.js +5 -1
- 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/TimeAgo.js +1 -1
- package/commonjs/TimeAgo.js.map +1 -1
- package/commonjs/TimeAgo.test.js +6 -6
- package/commonjs/TimeAgo.test.js.map +1 -1
- package/commonjs/style/twitter.test.js +3 -3
- package/commonjs/style/twitter.test.js.map +1 -1
- package/index.d.ts +129 -0
- package/locale/af/index.js +3 -1
- package/locale/am/index.js +3 -1
- package/locale/ar/index.js +3 -1
- package/locale/ar-AE/index.js +3 -1
- package/locale/as/index.js +3 -1
- package/locale/ast/index.js +3 -1
- package/locale/az/index.js +3 -1
- package/locale/be/index.js +3 -1
- package/locale/bg/index.js +3 -1
- package/locale/bn/index.js +3 -1
- package/locale/br/index.js +3 -1
- package/locale/bs/index.js +3 -1
- package/locale/bs-Cyrl/index.js +3 -1
- package/locale/ca/index.js +3 -1
- package/locale/ccp/index.js +3 -1
- package/locale/ce/index.js +3 -1
- package/locale/chr/index.js +3 -1
- package/locale/cs/index.js +3 -1
- package/locale/cy/index.js +3 -1
- package/locale/da/index.js +3 -1
- package/locale/da.json +19 -0
- package/locale/de/index.js +3 -1
- package/locale/dsb/index.js +3 -1
- package/locale/dz/index.js +3 -1
- package/locale/ee/index.js +3 -1
- package/locale/el/index.js +3 -1
- package/locale/en/index.js +3 -1
- package/locale/en-001/index.js +3 -1
- package/locale/en-150/index.js +3 -1
- package/locale/en-AG/index.js +3 -1
- package/locale/en-AI/index.js +3 -1
- package/locale/en-AT/index.js +3 -1
- package/locale/en-AU/index.js +3 -1
- package/locale/en-BB/index.js +3 -1
- package/locale/en-BE/index.js +3 -1
- package/locale/en-BM/index.js +3 -1
- package/locale/en-BS/index.js +3 -1
- package/locale/en-BW/index.js +3 -1
- package/locale/en-BZ/index.js +3 -1
- package/locale/en-CA/index.js +3 -1
- package/locale/en-CC/index.js +3 -1
- package/locale/en-CH/index.js +3 -1
- package/locale/en-CK/index.js +3 -1
- package/locale/en-CM/index.js +3 -1
- package/locale/en-CX/index.js +3 -1
- package/locale/en-CY/index.js +3 -1
- package/locale/en-DE/index.js +3 -1
- package/locale/en-DG/index.js +3 -1
- package/locale/en-DK/index.js +3 -1
- package/locale/en-DM/index.js +3 -1
- package/locale/en-ER/index.js +3 -1
- package/locale/en-FI/index.js +3 -1
- package/locale/en-FJ/index.js +3 -1
- package/locale/en-FK/index.js +3 -1
- package/locale/en-FM/index.js +3 -1
- package/locale/en-GB/index.js +3 -1
- package/locale/en-GD/index.js +3 -1
- package/locale/en-GG/index.js +3 -1
- package/locale/en-GH/index.js +3 -1
- package/locale/en-GI/index.js +3 -1
- package/locale/en-GM/index.js +3 -1
- package/locale/en-GY/index.js +3 -1
- package/locale/en-HK/index.js +3 -1
- package/locale/en-IE/index.js +3 -1
- package/locale/en-IL/index.js +3 -1
- package/locale/en-IM/index.js +3 -1
- package/locale/en-IN/index.js +3 -1
- package/locale/en-IO/index.js +3 -1
- package/locale/en-JE/index.js +3 -1
- package/locale/en-JM/index.js +3 -1
- package/locale/en-KE/index.js +3 -1
- package/locale/en-KI/index.js +3 -1
- package/locale/en-KN/index.js +3 -1
- package/locale/en-KY/index.js +3 -1
- package/locale/en-LC/index.js +3 -1
- package/locale/en-LR/index.js +3 -1
- package/locale/en-LS/index.js +3 -1
- package/locale/en-MG/index.js +3 -1
- package/locale/en-MO/index.js +3 -1
- package/locale/en-MS/index.js +3 -1
- package/locale/en-MT/index.js +3 -1
- package/locale/en-MU/index.js +3 -1
- package/locale/en-MW/index.js +3 -1
- package/locale/en-MY/index.js +3 -1
- package/locale/en-NA/index.js +3 -1
- package/locale/en-NF/index.js +3 -1
- package/locale/en-NG/index.js +3 -1
- package/locale/en-NL/index.js +3 -1
- package/locale/en-NR/index.js +3 -1
- package/locale/en-NU/index.js +3 -1
- package/locale/en-NZ/index.js +3 -1
- package/locale/en-PG/index.js +3 -1
- package/locale/en-PH/index.js +3 -1
- package/locale/en-PK/index.js +3 -1
- package/locale/en-PN/index.js +3 -1
- package/locale/en-PW/index.js +3 -1
- package/locale/en-RW/index.js +3 -1
- package/locale/en-SB/index.js +3 -1
- package/locale/en-SC/index.js +3 -1
- package/locale/en-SD/index.js +3 -1
- package/locale/en-SE/index.js +3 -1
- package/locale/en-SG/index.js +3 -1
- package/locale/en-SH/index.js +3 -1
- package/locale/en-SI/index.js +3 -1
- package/locale/en-SL/index.js +3 -1
- package/locale/en-SS/index.js +3 -1
- package/locale/en-SX/index.js +3 -1
- package/locale/en-SZ/index.js +3 -1
- package/locale/en-TC/index.js +3 -1
- package/locale/en-TK/index.js +3 -1
- package/locale/en-TO/index.js +3 -1
- package/locale/en-TT/index.js +3 -1
- package/locale/en-TV/index.js +3 -1
- package/locale/en-TZ/index.js +3 -1
- package/locale/en-UG/index.js +3 -1
- package/locale/en-VC/index.js +3 -1
- package/locale/en-VG/index.js +3 -1
- package/locale/en-VU/index.js +3 -1
- package/locale/en-WS/index.js +3 -1
- package/locale/en-ZA/index.js +3 -1
- package/locale/en-ZM/index.js +3 -1
- package/locale/en-ZW/index.js +3 -1
- package/locale/es/index.js +3 -1
- package/locale/es-AR/index.js +3 -1
- package/locale/es-MX/index.js +3 -1
- package/locale/es-PY/index.js +3 -1
- package/locale/es-SV/index.js +3 -1
- package/locale/es-US/index.js +3 -1
- package/locale/es.json +19 -7
- package/locale/et/index.js +3 -1
- package/locale/eu/index.js +3 -1
- package/locale/fa/index.js +3 -1
- package/locale/fi/index.js +3 -1
- package/locale/fil/index.js +3 -1
- package/locale/fo/index.js +3 -1
- package/locale/fr/index.js +3 -1
- package/locale/fr-CA/index.js +3 -1
- package/locale/fr.json +11 -5
- package/locale/fur/index.js +3 -1
- package/locale/fy/index.js +3 -1
- package/locale/ga/index.js +3 -1
- package/locale/gd/index.js +3 -1
- package/locale/gl/index.js +3 -1
- package/locale/gu/index.js +3 -1
- package/locale/he/index.js +3 -1
- package/locale/hi/index.js +3 -1
- package/locale/hi.json +2 -8
- package/locale/hr/index.js +3 -1
- package/locale/hsb/index.js +3 -1
- package/locale/hu/index.js +3 -1
- package/locale/hy/index.js +3 -1
- package/locale/ia/index.js +3 -1
- package/locale/id/index.js +3 -1
- package/locale/is/index.js +3 -1
- package/locale/it/index.js +3 -1
- package/locale/it.json +19 -0
- package/locale/ja/index.js +3 -1
- package/locale/jgo/index.js +3 -1
- package/locale/jv/index.js +3 -1
- package/locale/ka/index.js +3 -1
- package/locale/kea/index.js +3 -1
- package/locale/kk/index.js +3 -1
- package/locale/kl/index.js +3 -1
- package/locale/km/index.js +3 -1
- package/locale/kn/index.js +3 -1
- package/locale/ko/index.js +3 -1
- package/locale/kok/index.js +3 -1
- package/locale/ksh/index.js +3 -1
- package/locale/ku/index.js +3 -1
- package/locale/ky/index.js +3 -1
- package/locale/lb/index.js +3 -1
- package/locale/lkt/index.js +3 -1
- package/locale/lo/index.js +3 -1
- package/locale/lt/index.js +3 -1
- package/locale/lv/index.js +3 -1
- package/locale/mk/index.js +3 -1
- package/locale/ml/index.js +3 -1
- package/locale/mn/index.js +3 -1
- package/locale/mr/index.js +3 -1
- package/locale/ms/index.js +3 -1
- package/locale/mt/index.js +3 -1
- package/locale/my/index.js +3 -1
- package/locale/mzn/index.js +3 -1
- package/locale/nb/index.js +3 -1
- package/locale/ne/index.js +3 -1
- package/locale/nl/index.js +3 -1
- package/locale/nl.json +16 -0
- package/locale/nn/index.js +3 -1
- package/locale/or/index.js +3 -1
- package/locale/pa/index.js +3 -1
- package/locale/pl/index.js +3 -1
- package/locale/ps/index.js +3 -1
- package/locale/pt/index.js +3 -1
- package/locale/pt-AO/index.js +3 -1
- package/locale/pt-CH/index.js +3 -1
- package/locale/pt-CV/index.js +3 -1
- package/locale/pt-GQ/index.js +3 -1
- package/locale/pt-GW/index.js +3 -1
- package/locale/pt-LU/index.js +3 -1
- package/locale/pt-MO/index.js +3 -1
- package/locale/pt-MZ/index.js +3 -1
- package/locale/pt-PT/index.js +3 -1
- package/locale/pt-ST/index.js +3 -1
- package/locale/pt-TL/index.js +3 -1
- package/locale/qu/index.js +3 -1
- package/locale/ro/index.js +3 -1
- package/locale/ro.json +56 -0
- package/locale/ru/index.js +3 -1
- package/locale/ru.json +2 -8
- package/locale/sah/index.js +3 -1
- package/locale/sd/index.js +3 -1
- package/locale/se/index.js +3 -1
- package/locale/se-FI/index.js +3 -1
- package/locale/si/index.js +3 -1
- package/locale/sk/index.js +3 -1
- package/locale/sl/index.js +3 -1
- package/locale/so/index.js +3 -1
- package/locale/sq/index.js +3 -1
- package/locale/sr/index.js +3 -1
- package/locale/sr-Latn/index.js +3 -1
- package/locale/sv/index.js +3 -1
- package/locale/sv.json +13 -0
- package/locale/sw/index.js +3 -1
- package/locale/ta/index.js +3 -1
- package/locale/te/index.js +3 -1
- package/locale/th/index.js +3 -1
- package/locale/ti/index.js +3 -1
- package/locale/tk/index.js +3 -1
- package/locale/to/index.js +3 -1
- package/locale/tr/index.js +3 -1
- package/locale/ug/index.js +3 -1
- package/locale/uk/index.js +3 -1
- package/locale/ur/index.js +3 -1
- package/locale/ur-IN/index.js +3 -1
- package/locale/uz/index.js +3 -1
- package/locale/uz-Cyrl/index.js +3 -1
- package/locale/vi/index.js +3 -1
- package/locale/wae/index.js +3 -1
- package/locale/yi/index.js +3 -1
- package/locale/yue/index.js +3 -1
- package/locale/yue-Hans/index.js +3 -1
- package/locale/zh/index.js +3 -1
- package/locale/zh-Hans-HK/index.js +3 -1
- package/locale/zh-Hans-MO/index.js +3 -1
- package/locale/zh-Hans-SG/index.js +3 -1
- package/locale/zh-Hant/index.js +3 -1
- package/locale/zh-Hant-HK/index.js +3 -1
- package/locale/zh-Hant-MO/index.js +3 -1
- package/locale/zu/index.js +3 -1
- package/locale-more-styles/da/mini.json +18 -0
- package/locale-more-styles/es/mini.json +19 -7
- package/locale-more-styles/fr/mini.json +11 -5
- package/locale-more-styles/hi/mini.json +2 -8
- package/locale-more-styles/it/mini.json +18 -0
- package/locale-more-styles/nl/mini.json +15 -0
- package/locale-more-styles/ro/long-time.json +30 -0
- package/locale-more-styles/ro/mini.json +18 -0
- package/locale-more-styles/ro/now.json +7 -0
- package/locale-more-styles/ru/mini.json +2 -8
- package/locale-more-styles/sv/mini.json +12 -0
- package/modules/TimeAgo.js +1 -1
- package/modules/TimeAgo.js.map +1 -1
- package/modules/TimeAgo.test.js +6 -6
- package/modules/TimeAgo.test.js.map +1 -1
- package/modules/style/twitter.test.js +3 -3
- package/modules/style/twitter.test.js.map +1 -1
- package/package.json +1 -1
- package/index.d.ts.test +0 -47
package/locale/hi.json
CHANGED
|
@@ -181,14 +181,8 @@
|
|
|
181
181
|
"mini": {
|
|
182
182
|
"year": "{0}वर्ष",
|
|
183
183
|
"quarter": {
|
|
184
|
-
"
|
|
185
|
-
|
|
186
|
-
"other": "{0}तिमाहियों"
|
|
187
|
-
},
|
|
188
|
-
"future": {
|
|
189
|
-
"one": "{0}तिमाही",
|
|
190
|
-
"other": "{0}तिमाहियों"
|
|
191
|
-
}
|
|
184
|
+
"one": "{0}तिमाही",
|
|
185
|
+
"other": "{0}तिमाहियों"
|
|
192
186
|
},
|
|
193
187
|
"month": "{0}माह",
|
|
194
188
|
"week": "{0}सप्ताह",
|
package/locale/hr/index.js
CHANGED
package/locale/hsb/index.js
CHANGED
package/locale/hu/index.js
CHANGED
package/locale/hy/index.js
CHANGED
package/locale/ia/index.js
CHANGED
package/locale/id/index.js
CHANGED
package/locale/is/index.js
CHANGED
package/locale/it/index.js
CHANGED
package/locale/it.json
CHANGED
|
@@ -259,6 +259,25 @@
|
|
|
259
259
|
"past": "proprio ora"
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
|
+
"mini": {
|
|
263
|
+
"year": {
|
|
264
|
+
"one": "{0} anno",
|
|
265
|
+
"other": "{0} anni"
|
|
266
|
+
},
|
|
267
|
+
"month": {
|
|
268
|
+
"one": "{0} mese",
|
|
269
|
+
"other": "{0} mesi"
|
|
270
|
+
},
|
|
271
|
+
"week": "{0} sett.",
|
|
272
|
+
"day": "{0} gior.",
|
|
273
|
+
"hour": {
|
|
274
|
+
"one": "{0} ora",
|
|
275
|
+
"other": "{0} ore"
|
|
276
|
+
},
|
|
277
|
+
"minute": "{0} min.",
|
|
278
|
+
"second": "{0} sec.",
|
|
279
|
+
"now": "adesso"
|
|
280
|
+
},
|
|
262
281
|
"long-time": {
|
|
263
282
|
"year": {
|
|
264
283
|
"one": "{0} anno",
|
package/locale/ja/index.js
CHANGED
package/locale/jgo/index.js
CHANGED
package/locale/jv/index.js
CHANGED
package/locale/ka/index.js
CHANGED
package/locale/kea/index.js
CHANGED
package/locale/kk/index.js
CHANGED
package/locale/kl/index.js
CHANGED
package/locale/km/index.js
CHANGED
package/locale/kn/index.js
CHANGED
package/locale/ko/index.js
CHANGED
package/locale/kok/index.js
CHANGED
package/locale/ksh/index.js
CHANGED
package/locale/ku/index.js
CHANGED
package/locale/ky/index.js
CHANGED
package/locale/lb/index.js
CHANGED
package/locale/lkt/index.js
CHANGED
package/locale/lo/index.js
CHANGED
package/locale/lt/index.js
CHANGED
package/locale/lv/index.js
CHANGED
package/locale/mk/index.js
CHANGED
package/locale/ml/index.js
CHANGED
package/locale/mn/index.js
CHANGED
package/locale/mr/index.js
CHANGED
package/locale/ms/index.js
CHANGED
package/locale/mt/index.js
CHANGED
package/locale/my/index.js
CHANGED
package/locale/mzn/index.js
CHANGED
package/locale/nb/index.js
CHANGED
package/locale/ne/index.js
CHANGED
package/locale/nl/index.js
CHANGED
package/locale/nl.json
CHANGED
|
@@ -253,6 +253,22 @@
|
|
|
253
253
|
"past": "zojuist"
|
|
254
254
|
}
|
|
255
255
|
},
|
|
256
|
+
"mini": {
|
|
257
|
+
"year": "{0} jr.",
|
|
258
|
+
"month": "{0} mnd.",
|
|
259
|
+
"week": {
|
|
260
|
+
"one": "{0} week",
|
|
261
|
+
"other": "{0} wkn."
|
|
262
|
+
},
|
|
263
|
+
"day": {
|
|
264
|
+
"one": "{0} dag",
|
|
265
|
+
"other": "{0} dgn."
|
|
266
|
+
},
|
|
267
|
+
"hour": "{0} uur",
|
|
268
|
+
"minute": "{0} min.",
|
|
269
|
+
"second": "{0} sec.",
|
|
270
|
+
"now": "nu"
|
|
271
|
+
},
|
|
256
272
|
"long-time": {
|
|
257
273
|
"year": {
|
|
258
274
|
"one": "{0} jaar",
|
package/locale/nn/index.js
CHANGED
package/locale/or/index.js
CHANGED
package/locale/pa/index.js
CHANGED
package/locale/pl/index.js
CHANGED
package/locale/ps/index.js
CHANGED
package/locale/pt/index.js
CHANGED
package/locale/pt-AO/index.js
CHANGED
package/locale/pt-CH/index.js
CHANGED
package/locale/pt-CV/index.js
CHANGED
package/locale/pt-GQ/index.js
CHANGED
package/locale/pt-GW/index.js
CHANGED
package/locale/pt-LU/index.js
CHANGED
package/locale/pt-MO/index.js
CHANGED
package/locale/pt-MZ/index.js
CHANGED
package/locale/pt-PT/index.js
CHANGED
package/locale/pt-ST/index.js
CHANGED
package/locale/pt-TL/index.js
CHANGED
package/locale/qu/index.js
CHANGED
package/locale/ro/index.js
CHANGED
package/locale/ro.json
CHANGED
|
@@ -265,5 +265,61 @@
|
|
|
265
265
|
"past": "-{0} s",
|
|
266
266
|
"future": "+{0} s"
|
|
267
267
|
}
|
|
268
|
+
},
|
|
269
|
+
"now": {
|
|
270
|
+
"now": {
|
|
271
|
+
"current": "acum",
|
|
272
|
+
"future": "într-un moment",
|
|
273
|
+
"past": "acum un moment"
|
|
274
|
+
}
|
|
275
|
+
},
|
|
276
|
+
"mini": {
|
|
277
|
+
"year": {
|
|
278
|
+
"one": "{0} an",
|
|
279
|
+
"other": "{0} ani"
|
|
280
|
+
},
|
|
281
|
+
"month": {
|
|
282
|
+
"one": "{0} lună",
|
|
283
|
+
"other": "{0} luni"
|
|
284
|
+
},
|
|
285
|
+
"week": "{0} săp.",
|
|
286
|
+
"day": {
|
|
287
|
+
"one": "{0} zi",
|
|
288
|
+
"other": "{0} zile"
|
|
289
|
+
},
|
|
290
|
+
"hour": "{0} h",
|
|
291
|
+
"minute": "{0} min.",
|
|
292
|
+
"second": "{0} sec.",
|
|
293
|
+
"now": "acum"
|
|
294
|
+
},
|
|
295
|
+
"long-time": {
|
|
296
|
+
"year": {
|
|
297
|
+
"one": "{0} an",
|
|
298
|
+
"other": "{0} ani"
|
|
299
|
+
},
|
|
300
|
+
"month": {
|
|
301
|
+
"one": "{0} lună",
|
|
302
|
+
"other": "{0} luni"
|
|
303
|
+
},
|
|
304
|
+
"week": {
|
|
305
|
+
"one": "{0} săptămână",
|
|
306
|
+
"other": "{0} săptămâni"
|
|
307
|
+
},
|
|
308
|
+
"day": {
|
|
309
|
+
"one": "{0} zi",
|
|
310
|
+
"other": "{0} zile"
|
|
311
|
+
},
|
|
312
|
+
"hour": {
|
|
313
|
+
"one": "{0} oră",
|
|
314
|
+
"other": "{0} ore"
|
|
315
|
+
},
|
|
316
|
+
"minute": {
|
|
317
|
+
"one": "{0} minut",
|
|
318
|
+
"other": "{0} minute"
|
|
319
|
+
},
|
|
320
|
+
"second": {
|
|
321
|
+
"one": "{0} secundă",
|
|
322
|
+
"other": "{0} secunde"
|
|
323
|
+
}
|
|
268
324
|
}
|
|
269
325
|
}
|
package/locale/ru/index.js
CHANGED
package/locale/ru.json
CHANGED
|
@@ -253,14 +253,8 @@
|
|
|
253
253
|
},
|
|
254
254
|
"mini": {
|
|
255
255
|
"year": {
|
|
256
|
-
"
|
|
257
|
-
|
|
258
|
-
"other": "{0} г"
|
|
259
|
-
},
|
|
260
|
-
"future": {
|
|
261
|
-
"many": "{0} л",
|
|
262
|
-
"other": "{0} г"
|
|
263
|
-
}
|
|
256
|
+
"many": "{0} л",
|
|
257
|
+
"other": "{0} г"
|
|
264
258
|
},
|
|
265
259
|
"month": "{0} мес",
|
|
266
260
|
"week": "{0} нед",
|
package/locale/sah/index.js
CHANGED
package/locale/sd/index.js
CHANGED
package/locale/se/index.js
CHANGED
package/locale/se-FI/index.js
CHANGED
package/locale/si/index.js
CHANGED
package/locale/sk/index.js
CHANGED
package/locale/sl/index.js
CHANGED
package/locale/so/index.js
CHANGED
package/locale/sq/index.js
CHANGED
package/locale/sr/index.js
CHANGED
package/locale/sr-Latn/index.js
CHANGED
package/locale/sv/index.js
CHANGED
package/locale/sv.json
CHANGED
|
@@ -211,6 +211,19 @@
|
|
|
211
211
|
"past": "alldeles nyss"
|
|
212
212
|
}
|
|
213
213
|
},
|
|
214
|
+
"mini": {
|
|
215
|
+
"year": "{0} år",
|
|
216
|
+
"month": "{0} mån.",
|
|
217
|
+
"week": "{0} v.",
|
|
218
|
+
"day": {
|
|
219
|
+
"one": "{0} dag",
|
|
220
|
+
"other": "{0} dagar"
|
|
221
|
+
},
|
|
222
|
+
"hour": "{0} tim.",
|
|
223
|
+
"minute": "{0} min",
|
|
224
|
+
"second": "{0} sek.",
|
|
225
|
+
"now": "nu"
|
|
226
|
+
},
|
|
214
227
|
"long-time": {
|
|
215
228
|
"year": {
|
|
216
229
|
"one": "{0} år",
|
package/locale/sw/index.js
CHANGED
package/locale/ta/index.js
CHANGED