javascript-time-ago 2.3.12 → 2.3.13

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.
Files changed (57) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/bundle/javascript-time-ago.js +1 -1
  3. package/bundle/javascript-time-ago.js.map +1 -1
  4. package/bundle/javascript-time-ago.min.js +1 -1
  5. package/bundle/javascript-time-ago.min.js.map +1 -1
  6. package/commonjs/TimeAgo.js +3 -16
  7. package/commonjs/TimeAgo.js.map +1 -1
  8. package/commonjs/TimeAgo.test.js +1 -35
  9. package/commonjs/TimeAgo.test.js.map +1 -1
  10. package/commonjs/isStyleObject.js +23 -0
  11. package/commonjs/isStyleObject.js.map +1 -0
  12. package/commonjs/isStyleObject.test.js +39 -0
  13. package/commonjs/isStyleObject.test.js.map +1 -0
  14. package/load-all-locales.js +4 -1
  15. package/locale/bs.json +1 -4
  16. package/locale/dsb.json +42 -42
  17. package/locale/el.json +2 -2
  18. package/locale/en-CA.json +56 -56
  19. package/locale/es-US.json +3 -3
  20. package/locale/es.json +4 -16
  21. package/locale/eu.json +6 -6
  22. package/locale/ff-Adlm.json +34 -34
  23. package/locale/fil.json +2 -2
  24. package/locale/he.json +2 -2
  25. package/locale/hsb.json +42 -42
  26. package/locale/ia.json +121 -145
  27. package/locale/id.json +11 -11
  28. package/locale/is.json +8 -8
  29. package/locale/jv.json +6 -6
  30. package/locale/kgp/index.js +3 -0
  31. package/locale/kgp.json +165 -0
  32. package/locale/mni/index.js +3 -0
  33. package/locale/mni.json +159 -0
  34. package/locale/nb.json +2 -2
  35. package/locale/nn.json +10 -10
  36. package/locale/no.json +2 -2
  37. package/locale/sc/index.js +3 -0
  38. package/locale/sc.json +249 -0
  39. package/locale/sr-Cyrl-BA.json +2 -2
  40. package/locale/sr-Latn-BA.json +2 -2
  41. package/locale/sr-Latn.json +3 -3
  42. package/locale/sr.json +3 -3
  43. package/locale/ti.json +1 -1
  44. package/locale/yrl/index.js +3 -0
  45. package/locale/yrl.json +309 -0
  46. package/modules/TimeAgo.js +1 -14
  47. package/modules/TimeAgo.js.map +1 -1
  48. package/modules/TimeAgo.test.js +1 -33
  49. package/modules/TimeAgo.test.js.map +1 -1
  50. package/modules/isStyleObject.js +15 -0
  51. package/modules/isStyleObject.js.map +1 -0
  52. package/modules/isStyleObject.test.js +34 -0
  53. package/modules/isStyleObject.test.js.map +1 -0
  54. package/package.json +2 -2
  55. package/rollup.config.js +1 -1
  56. package/locale/en-PH/index.js +0 -3
  57. package/locale/en-PH.json +0 -219
@@ -0,0 +1,159 @@
1
+ {
2
+ "locale": "mni",
3
+ "long": {
4
+ "year": {
5
+ "previous": "হাকুম/ মমাংগী চহি",
6
+ "current": "কুমশি",
7
+ "next": "মথং চহি",
8
+ "past": "-{0} y",
9
+ "future": "+{0} y"
10
+ },
11
+ "quarter": {
12
+ "previous": "last quarter",
13
+ "current": "this quarter",
14
+ "next": "next quarter",
15
+ "past": "-{0} Q",
16
+ "future": "+{0} Q"
17
+ },
18
+ "month": {
19
+ "previous": "last month",
20
+ "current": "this month",
21
+ "next": "next month",
22
+ "past": "-{0} m",
23
+ "future": "+{0} m"
24
+ },
25
+ "week": {
26
+ "previous": "last week",
27
+ "current": "this week",
28
+ "next": "next week",
29
+ "past": "-{0} w",
30
+ "future": "+{0} w"
31
+ },
32
+ "day": {
33
+ "previous": "ঙরাং",
34
+ "current": "ঙসি",
35
+ "next": "হয়েং",
36
+ "past": "-{0} d",
37
+ "future": "+{0} d"
38
+ },
39
+ "hour": {
40
+ "current": "this hour",
41
+ "past": "-{0} h",
42
+ "future": "+{0} h"
43
+ },
44
+ "minute": {
45
+ "current": "this minute",
46
+ "past": "-{0} min",
47
+ "future": "+{0} min"
48
+ },
49
+ "second": {
50
+ "current": "now",
51
+ "past": "-{0} s",
52
+ "future": "+{0} s"
53
+ }
54
+ },
55
+ "short": {
56
+ "year": {
57
+ "previous": "হাকুম/ মমাংগী চহি",
58
+ "current": "কুমশি",
59
+ "next": "মথং চহি",
60
+ "past": "-{0} y",
61
+ "future": "+{0} y"
62
+ },
63
+ "quarter": {
64
+ "previous": "last quarter",
65
+ "current": "this quarter",
66
+ "next": "next quarter",
67
+ "past": "-{0} Q",
68
+ "future": "+{0} Q"
69
+ },
70
+ "month": {
71
+ "previous": "last month",
72
+ "current": "this month",
73
+ "next": "next month",
74
+ "past": "-{0} m",
75
+ "future": "+{0} m"
76
+ },
77
+ "week": {
78
+ "previous": "last week",
79
+ "current": "this week",
80
+ "next": "next week",
81
+ "past": "-{0} w",
82
+ "future": "+{0} w"
83
+ },
84
+ "day": {
85
+ "previous": "ঙরাং",
86
+ "current": "ঙসি",
87
+ "next": "হয়েং",
88
+ "past": "-{0} d",
89
+ "future": "+{0} d"
90
+ },
91
+ "hour": {
92
+ "current": "this hour",
93
+ "past": "-{0} h",
94
+ "future": "+{0} h"
95
+ },
96
+ "minute": {
97
+ "current": "this minute",
98
+ "past": "-{0} min",
99
+ "future": "+{0} min"
100
+ },
101
+ "second": {
102
+ "current": "now",
103
+ "past": "-{0} s",
104
+ "future": "+{0} s"
105
+ }
106
+ },
107
+ "narrow": {
108
+ "year": {
109
+ "previous": "হাকুম/ মমাংগী চহি",
110
+ "current": "কুমশি",
111
+ "next": "মথং চহি",
112
+ "past": "-{0} y",
113
+ "future": "+{0} y"
114
+ },
115
+ "quarter": {
116
+ "previous": "last quarter",
117
+ "current": "this quarter",
118
+ "next": "next quarter",
119
+ "past": "-{0} Q",
120
+ "future": "+{0} Q"
121
+ },
122
+ "month": {
123
+ "previous": "last month",
124
+ "current": "this month",
125
+ "next": "next month",
126
+ "past": "-{0} m",
127
+ "future": "+{0} m"
128
+ },
129
+ "week": {
130
+ "previous": "last week",
131
+ "current": "this week",
132
+ "next": "next week",
133
+ "past": "-{0} w",
134
+ "future": "+{0} w"
135
+ },
136
+ "day": {
137
+ "previous": "ঙরাং",
138
+ "current": "ঙসি",
139
+ "next": "হয়েং",
140
+ "past": "-{0} d",
141
+ "future": "+{0} d"
142
+ },
143
+ "hour": {
144
+ "current": "this hour",
145
+ "past": "-{0} h",
146
+ "future": "+{0} h"
147
+ },
148
+ "minute": {
149
+ "current": "this minute",
150
+ "past": "-{0} min",
151
+ "future": "+{0} min"
152
+ },
153
+ "second": {
154
+ "current": "now",
155
+ "past": "-{0} s",
156
+ "future": "+{0} s"
157
+ }
158
+ }
159
+ }
package/locale/nb.json CHANGED
@@ -149,14 +149,14 @@
149
149
  "previous": "i fjor",
150
150
  "current": "i år",
151
151
  "next": "neste år",
152
- "past": "{0} år",
152
+ "past": "-{0} år",
153
153
  "future": "+{0} år"
154
154
  },
155
155
  "quarter": {
156
156
  "previous": "forrige kv.",
157
157
  "current": "dette kv.",
158
158
  "next": "neste kv.",
159
- "past": "{0} kv.",
159
+ "past": "-{0} kv.",
160
160
  "future": "+{0} kv."
161
161
  },
162
162
  "month": {
package/locale/nn.json CHANGED
@@ -91,16 +91,16 @@
91
91
  "future": "om {0} kv."
92
92
  },
93
93
  "month": {
94
- "previous": "forrige md.",
94
+ "previous": "førre md.",
95
95
  "current": "denne md.",
96
96
  "next": "neste md.",
97
97
  "past": "for {0} md. sidan",
98
98
  "future": "om {0} md."
99
99
  },
100
100
  "week": {
101
- "previous": "forrige uke",
102
- "current": "denne uken",
103
- "next": "neste uke",
101
+ "previous": "førre veke",
102
+ "current": "denne veka",
103
+ "next": "neste veke",
104
104
  "past": "for {0} v. sidan",
105
105
  "future": "om {0} v."
106
106
  },
@@ -108,7 +108,7 @@
108
108
  "previous": "i går",
109
109
  "previous-2": "i forgårs",
110
110
  "current": "i dag",
111
- "next": "i morgen",
111
+ "next": "i morgon",
112
112
  "next-2": "i overmorgen",
113
113
  "past": "for {0} d. sidan",
114
114
  "future": "om {0} d."
@@ -145,16 +145,16 @@
145
145
  "future": "+{0} kv."
146
146
  },
147
147
  "month": {
148
- "previous": "forrige md.",
148
+ "previous": "førre md.",
149
149
  "current": "denne md.",
150
150
  "next": "neste md.",
151
151
  "past": "–{0} md.",
152
152
  "future": "+{0} md."
153
153
  },
154
154
  "week": {
155
- "previous": "forrige uke",
156
- "current": "denne uken",
157
- "next": "neste uke",
155
+ "previous": "førre veke",
156
+ "current": "denne veka",
157
+ "next": "neste veke",
158
158
  "past": "–{0} v.",
159
159
  "future": "+{0} v."
160
160
  },
@@ -162,7 +162,7 @@
162
162
  "previous": "i går",
163
163
  "previous-2": "-2 d.",
164
164
  "current": "i dag",
165
- "next": "i morgen",
165
+ "next": "i morgon",
166
166
  "next-2": "+2 d.",
167
167
  "past": "–{0} d.",
168
168
  "future": "+{0} d."
package/locale/no.json CHANGED
@@ -149,14 +149,14 @@
149
149
  "previous": "i fjor",
150
150
  "current": "i år",
151
151
  "next": "neste år",
152
- "past": "{0} år",
152
+ "past": "-{0} år",
153
153
  "future": "+{0} år"
154
154
  },
155
155
  "quarter": {
156
156
  "previous": "forrige kv.",
157
157
  "current": "dette kv.",
158
158
  "next": "neste kv.",
159
- "past": "{0} kv.",
159
+ "past": "-{0} kv.",
160
160
  "future": "+{0} kv."
161
161
  },
162
162
  "month": {
@@ -0,0 +1,3 @@
1
+ var localeData = require('../sc.json')
2
+ exports = module.exports = localeData
3
+ exports['default'] = localeData
package/locale/sc.json ADDED
@@ -0,0 +1,249 @@
1
+ {
2
+ "locale": "sc",
3
+ "long": {
4
+ "year": {
5
+ "previous": "ocannu coladu",
6
+ "current": "ocannu",
7
+ "next": "ocannu chi benit",
8
+ "past": {
9
+ "one": "{0} annu a como",
10
+ "other": "{0} annos a como"
11
+ },
12
+ "future": {
13
+ "one": "intro de {0} annu",
14
+ "other": "intro de {0} annos"
15
+ }
16
+ },
17
+ "quarter": {
18
+ "previous": "su trimestre coladu",
19
+ "current": "custu trimestre",
20
+ "next": "su trimestre chi intrat",
21
+ "past": {
22
+ "one": "{0} trimestre a como",
23
+ "other": "{0} trimestres a como"
24
+ },
25
+ "future": {
26
+ "one": "intro de {0} trimestre",
27
+ "other": "intro de {0} trimestres"
28
+ }
29
+ },
30
+ "month": {
31
+ "previous": "su mese coladu",
32
+ "current": "custu mese",
33
+ "next": "su mese chi intrat",
34
+ "past": {
35
+ "one": "{0} mese a como",
36
+ "other": "{0} meses a como"
37
+ },
38
+ "future": {
39
+ "one": "intro de {0} mese",
40
+ "other": "intro de {0} meses"
41
+ }
42
+ },
43
+ "week": {
44
+ "previous": "sa chida colada",
45
+ "current": "custa chida",
46
+ "next": "sa chida chi intrat",
47
+ "past": {
48
+ "one": "{0} chida a como",
49
+ "other": "{0} chidas a como"
50
+ },
51
+ "future": {
52
+ "one": "intro de {0} chida",
53
+ "other": "intro de {0} chidas"
54
+ }
55
+ },
56
+ "day": {
57
+ "previous": "eris",
58
+ "current": "oe",
59
+ "next": "cras",
60
+ "past": {
61
+ "one": "{0} die a como",
62
+ "other": "{0} dies a como"
63
+ },
64
+ "future": {
65
+ "one": "intro de {0} die",
66
+ "other": "intro de {0} dies"
67
+ }
68
+ },
69
+ "hour": {
70
+ "current": "cust’ora",
71
+ "past": {
72
+ "one": "{0} ora a como",
73
+ "other": "{0} oras a como"
74
+ },
75
+ "future": {
76
+ "one": "intro de {0} ora",
77
+ "other": "intro de {0} oras"
78
+ }
79
+ },
80
+ "minute": {
81
+ "current": "custu minutu",
82
+ "past": {
83
+ "one": "{0} minutu a como",
84
+ "other": "{0} minutos a como"
85
+ },
86
+ "future": {
87
+ "one": "intro de {0} minutu",
88
+ "other": "intro de {0} minutos"
89
+ }
90
+ },
91
+ "second": {
92
+ "current": "como",
93
+ "past": {
94
+ "one": "{0} segundu a como",
95
+ "other": "{0} segundos a como"
96
+ },
97
+ "future": {
98
+ "one": "intro de {0} segundu",
99
+ "other": "intro de {0} segundos"
100
+ }
101
+ }
102
+ },
103
+ "short": {
104
+ "year": {
105
+ "previous": "ocannu coladu",
106
+ "current": "ocannu",
107
+ "next": "ocannu chi benit",
108
+ "past": {
109
+ "one": "{0} annu a como",
110
+ "other": "{0} annos a como"
111
+ },
112
+ "future": {
113
+ "one": "intro de {0} annu",
114
+ "other": "intro de {0} annos"
115
+ }
116
+ },
117
+ "quarter": {
118
+ "previous": "su trim. coladu",
119
+ "current": "custu trim.",
120
+ "next": "su trim. chi intrat",
121
+ "past": "{0} trim. a como",
122
+ "future": "intro de {0} trim."
123
+ },
124
+ "month": {
125
+ "previous": "su mese coladu",
126
+ "current": "custu mese",
127
+ "next": "su mese chi intrat",
128
+ "past": {
129
+ "one": "{0} mese a como",
130
+ "other": "{0} meses a como"
131
+ },
132
+ "future": {
133
+ "one": "intro de {0} mese",
134
+ "other": "intro de {0} meses"
135
+ }
136
+ },
137
+ "week": {
138
+ "previous": "sa chida colada",
139
+ "current": "custa chida",
140
+ "next": "sa chida chi intrat",
141
+ "past": "{0} ch. a como",
142
+ "future": "intro de {0} ch."
143
+ },
144
+ "day": {
145
+ "previous": "eris",
146
+ "current": "oe",
147
+ "next": "cras",
148
+ "past": {
149
+ "one": "{0} die a como",
150
+ "other": "{0} dies a como"
151
+ },
152
+ "future": {
153
+ "one": "intro de {0} die",
154
+ "other": "intro de {0} dies"
155
+ }
156
+ },
157
+ "hour": {
158
+ "current": "cust’ora",
159
+ "past": {
160
+ "one": "{0} ora a como",
161
+ "other": "{0} oras a como"
162
+ },
163
+ "future": {
164
+ "one": "intro de {0} ora",
165
+ "other": "intro de {0} oras"
166
+ }
167
+ },
168
+ "minute": {
169
+ "current": "custu minutu",
170
+ "past": "{0} min. a como",
171
+ "future": "intro de {0} min."
172
+ },
173
+ "second": {
174
+ "current": "como",
175
+ "past": "{0} seg. a como",
176
+ "future": "intro de {0} seg."
177
+ }
178
+ },
179
+ "narrow": {
180
+ "year": {
181
+ "previous": "ocannu coladu",
182
+ "current": "ocannu",
183
+ "next": "ocannu chi benit",
184
+ "past": {
185
+ "one": "{0} annu a como",
186
+ "other": "{0} annos a como"
187
+ },
188
+ "future": {
189
+ "one": "intro de {0} annu",
190
+ "other": "intro de {0} annos"
191
+ }
192
+ },
193
+ "quarter": {
194
+ "previous": "su trim. coladu",
195
+ "current": "custu trim.",
196
+ "next": "su trim. chi intrat",
197
+ "past": "{0} trim. a como",
198
+ "future": "intro de {0} trim."
199
+ },
200
+ "month": {
201
+ "previous": "su mese coladu",
202
+ "current": "custu mese",
203
+ "next": "su mese chi intrat",
204
+ "past": {
205
+ "one": "{0} mese a como",
206
+ "other": "{0} meses a como"
207
+ },
208
+ "future": {
209
+ "one": "intro de {0} mese",
210
+ "other": "intro de {0} meses"
211
+ }
212
+ },
213
+ "week": {
214
+ "previous": "sa chida colada",
215
+ "current": "custa chida",
216
+ "next": "sa chida chi intrat",
217
+ "past": "{0} ch. a como",
218
+ "future": "intro de {0} ch."
219
+ },
220
+ "day": {
221
+ "previous": "eris",
222
+ "current": "oe",
223
+ "next": "cras",
224
+ "past": {
225
+ "one": "{0} die a como",
226
+ "other": "{0} dies a como"
227
+ },
228
+ "future": {
229
+ "one": "intro de {0} die",
230
+ "other": "intro de {0} dies"
231
+ }
232
+ },
233
+ "hour": {
234
+ "current": "cust’ora",
235
+ "past": "{0} o a como",
236
+ "future": "intro de {0} o"
237
+ },
238
+ "minute": {
239
+ "current": "custu minutu",
240
+ "past": "{0} m a como",
241
+ "future": "intro de {0} m"
242
+ },
243
+ "second": {
244
+ "current": "como",
245
+ "past": "{0} s a como",
246
+ "future": "intro de {0} s"
247
+ }
248
+ }
249
+ }
@@ -173,8 +173,8 @@
173
173
  "future": "за {0} кв."
174
174
  },
175
175
  "month": {
176
- "previous": "прошлог м.",
177
- "current": "овог м.",
176
+ "previous": "прошлог мјес.",
177
+ "current": "овог мјес.",
178
178
  "next": "сљедећег м.",
179
179
  "past": "прије {0} м.",
180
180
  "future": "за {0} м."
@@ -173,8 +173,8 @@
173
173
  "future": "za {0} kv."
174
174
  },
175
175
  "month": {
176
- "previous": "prošlog m.",
177
- "current": "ovog m.",
176
+ "previous": "prošlog mjes.",
177
+ "current": "ovog mjes.",
178
178
  "next": "sljedećeg m.",
179
179
  "past": "prije {0} m.",
180
180
  "future": "za {0} m."
@@ -173,9 +173,9 @@
173
173
  "future": "za {0} kv."
174
174
  },
175
175
  "month": {
176
- "previous": "prošlog m.",
177
- "current": "ovog m.",
178
- "next": "sledećeg m.",
176
+ "previous": "prošlog mes.",
177
+ "current": "ovog mes.",
178
+ "next": "sledećeg mes.",
179
179
  "past": "pre {0} m.",
180
180
  "future": "za {0} m."
181
181
  },
package/locale/sr.json CHANGED
@@ -173,9 +173,9 @@
173
173
  "future": "за {0} кв."
174
174
  },
175
175
  "month": {
176
- "previous": "прошлог м.",
177
- "current": "овог м.",
178
- "next": "следећег м.",
176
+ "previous": "прошлог мес.",
177
+ "current": "овог мес.",
178
+ "next": "следећег мес.",
179
179
  "past": "пре {0} м.",
180
180
  "future": "за {0} м."
181
181
  },
package/locale/ti.json CHANGED
@@ -16,7 +16,7 @@
16
16
  "future": "ኣብ {0} ርብዒ"
17
17
  },
18
18
  "month": {
19
- "previous": "last month",
19
+ "previous": "ዝሓለፈ ወርሒ",
20
20
  "current": "ህሉው ወርሒ",
21
21
  "next": "ዝመጽእ ወርሒ",
22
22
  "past": "ቅድሚ {0} ወርሒ",
@@ -0,0 +1,3 @@
1
+ var localeData = require('../yrl.json')
2
+ exports = module.exports = localeData
3
+ exports['default'] = localeData