@formatjs/intl-relativetimeformat 4.5.7 → 4.5.11

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/lib/en.d.ts ADDED
@@ -0,0 +1,420 @@
1
+ declare const _default: {
2
+ "fields": {
3
+ "year": {
4
+ "displayName": string;
5
+ "relative": {
6
+ "0": string;
7
+ "1": string;
8
+ "-1": string;
9
+ };
10
+ "relativeTime": {
11
+ "future": {
12
+ "one": string;
13
+ "other": string;
14
+ };
15
+ "past": {
16
+ "one": string;
17
+ "other": string;
18
+ };
19
+ };
20
+ };
21
+ "year-short": {
22
+ "displayName": string;
23
+ "relative": {
24
+ "0": string;
25
+ "1": string;
26
+ "-1": string;
27
+ };
28
+ "relativeTime": {
29
+ "future": {
30
+ "one": string;
31
+ "other": string;
32
+ };
33
+ "past": {
34
+ "one": string;
35
+ "other": string;
36
+ };
37
+ };
38
+ };
39
+ "year-narrow": {
40
+ "displayName": string;
41
+ "relative": {
42
+ "0": string;
43
+ "1": string;
44
+ "-1": string;
45
+ };
46
+ "relativeTime": {
47
+ "future": {
48
+ "one": string;
49
+ "other": string;
50
+ };
51
+ "past": {
52
+ "one": string;
53
+ "other": string;
54
+ };
55
+ };
56
+ };
57
+ "quarter": {
58
+ "displayName": string;
59
+ "relative": {
60
+ "0": string;
61
+ "1": string;
62
+ "-1": string;
63
+ };
64
+ "relativeTime": {
65
+ "future": {
66
+ "one": string;
67
+ "other": string;
68
+ };
69
+ "past": {
70
+ "one": string;
71
+ "other": string;
72
+ };
73
+ };
74
+ };
75
+ "quarter-short": {
76
+ "displayName": string;
77
+ "relative": {
78
+ "0": string;
79
+ "1": string;
80
+ "-1": string;
81
+ };
82
+ "relativeTime": {
83
+ "future": {
84
+ "one": string;
85
+ "other": string;
86
+ };
87
+ "past": {
88
+ "one": string;
89
+ "other": string;
90
+ };
91
+ };
92
+ };
93
+ "quarter-narrow": {
94
+ "displayName": string;
95
+ "relative": {
96
+ "0": string;
97
+ "1": string;
98
+ "-1": string;
99
+ };
100
+ "relativeTime": {
101
+ "future": {
102
+ "one": string;
103
+ "other": string;
104
+ };
105
+ "past": {
106
+ "one": string;
107
+ "other": string;
108
+ };
109
+ };
110
+ };
111
+ "month": {
112
+ "displayName": string;
113
+ "relative": {
114
+ "0": string;
115
+ "1": string;
116
+ "-1": string;
117
+ };
118
+ "relativeTime": {
119
+ "future": {
120
+ "one": string;
121
+ "other": string;
122
+ };
123
+ "past": {
124
+ "one": string;
125
+ "other": string;
126
+ };
127
+ };
128
+ };
129
+ "month-short": {
130
+ "displayName": string;
131
+ "relative": {
132
+ "0": string;
133
+ "1": string;
134
+ "-1": string;
135
+ };
136
+ "relativeTime": {
137
+ "future": {
138
+ "one": string;
139
+ "other": string;
140
+ };
141
+ "past": {
142
+ "one": string;
143
+ "other": string;
144
+ };
145
+ };
146
+ };
147
+ "month-narrow": {
148
+ "displayName": string;
149
+ "relative": {
150
+ "0": string;
151
+ "1": string;
152
+ "-1": string;
153
+ };
154
+ "relativeTime": {
155
+ "future": {
156
+ "one": string;
157
+ "other": string;
158
+ };
159
+ "past": {
160
+ "one": string;
161
+ "other": string;
162
+ };
163
+ };
164
+ };
165
+ "week": {
166
+ "displayName": string;
167
+ "relative": {
168
+ "0": string;
169
+ "1": string;
170
+ "-1": string;
171
+ };
172
+ "relativeTime": {
173
+ "future": {
174
+ "one": string;
175
+ "other": string;
176
+ };
177
+ "past": {
178
+ "one": string;
179
+ "other": string;
180
+ };
181
+ };
182
+ };
183
+ "week-short": {
184
+ "displayName": string;
185
+ "relative": {
186
+ "0": string;
187
+ "1": string;
188
+ "-1": string;
189
+ };
190
+ "relativeTime": {
191
+ "future": {
192
+ "one": string;
193
+ "other": string;
194
+ };
195
+ "past": {
196
+ "one": string;
197
+ "other": string;
198
+ };
199
+ };
200
+ };
201
+ "week-narrow": {
202
+ "displayName": string;
203
+ "relative": {
204
+ "0": string;
205
+ "1": string;
206
+ "-1": string;
207
+ };
208
+ "relativeTime": {
209
+ "future": {
210
+ "one": string;
211
+ "other": string;
212
+ };
213
+ "past": {
214
+ "one": string;
215
+ "other": string;
216
+ };
217
+ };
218
+ };
219
+ "day": {
220
+ "displayName": string;
221
+ "relative": {
222
+ "0": string;
223
+ "1": string;
224
+ "-1": string;
225
+ };
226
+ "relativeTime": {
227
+ "future": {
228
+ "one": string;
229
+ "other": string;
230
+ };
231
+ "past": {
232
+ "one": string;
233
+ "other": string;
234
+ };
235
+ };
236
+ };
237
+ "day-short": {
238
+ "displayName": string;
239
+ "relative": {
240
+ "0": string;
241
+ "1": string;
242
+ "-1": string;
243
+ };
244
+ "relativeTime": {
245
+ "future": {
246
+ "one": string;
247
+ "other": string;
248
+ };
249
+ "past": {
250
+ "one": string;
251
+ "other": string;
252
+ };
253
+ };
254
+ };
255
+ "day-narrow": {
256
+ "displayName": string;
257
+ "relative": {
258
+ "0": string;
259
+ "1": string;
260
+ "-1": string;
261
+ };
262
+ "relativeTime": {
263
+ "future": {
264
+ "one": string;
265
+ "other": string;
266
+ };
267
+ "past": {
268
+ "one": string;
269
+ "other": string;
270
+ };
271
+ };
272
+ };
273
+ "hour": {
274
+ "displayName": string;
275
+ "relative": {
276
+ "0": string;
277
+ };
278
+ "relativeTime": {
279
+ "future": {
280
+ "one": string;
281
+ "other": string;
282
+ };
283
+ "past": {
284
+ "one": string;
285
+ "other": string;
286
+ };
287
+ };
288
+ };
289
+ "hour-short": {
290
+ "displayName": string;
291
+ "relative": {
292
+ "0": string;
293
+ };
294
+ "relativeTime": {
295
+ "future": {
296
+ "one": string;
297
+ "other": string;
298
+ };
299
+ "past": {
300
+ "one": string;
301
+ "other": string;
302
+ };
303
+ };
304
+ };
305
+ "hour-narrow": {
306
+ "displayName": string;
307
+ "relative": {
308
+ "0": string;
309
+ };
310
+ "relativeTime": {
311
+ "future": {
312
+ "one": string;
313
+ "other": string;
314
+ };
315
+ "past": {
316
+ "one": string;
317
+ "other": string;
318
+ };
319
+ };
320
+ };
321
+ "minute": {
322
+ "displayName": string;
323
+ "relative": {
324
+ "0": string;
325
+ };
326
+ "relativeTime": {
327
+ "future": {
328
+ "one": string;
329
+ "other": string;
330
+ };
331
+ "past": {
332
+ "one": string;
333
+ "other": string;
334
+ };
335
+ };
336
+ };
337
+ "minute-short": {
338
+ "displayName": string;
339
+ "relative": {
340
+ "0": string;
341
+ };
342
+ "relativeTime": {
343
+ "future": {
344
+ "one": string;
345
+ "other": string;
346
+ };
347
+ "past": {
348
+ "one": string;
349
+ "other": string;
350
+ };
351
+ };
352
+ };
353
+ "minute-narrow": {
354
+ "displayName": string;
355
+ "relative": {
356
+ "0": string;
357
+ };
358
+ "relativeTime": {
359
+ "future": {
360
+ "one": string;
361
+ "other": string;
362
+ };
363
+ "past": {
364
+ "one": string;
365
+ "other": string;
366
+ };
367
+ };
368
+ };
369
+ "second": {
370
+ "displayName": string;
371
+ "relative": {
372
+ "0": string;
373
+ };
374
+ "relativeTime": {
375
+ "future": {
376
+ "one": string;
377
+ "other": string;
378
+ };
379
+ "past": {
380
+ "one": string;
381
+ "other": string;
382
+ };
383
+ };
384
+ };
385
+ "second-short": {
386
+ "displayName": string;
387
+ "relative": {
388
+ "0": string;
389
+ };
390
+ "relativeTime": {
391
+ "future": {
392
+ "one": string;
393
+ "other": string;
394
+ };
395
+ "past": {
396
+ "one": string;
397
+ "other": string;
398
+ };
399
+ };
400
+ };
401
+ "second-narrow": {
402
+ "displayName": string;
403
+ "relative": {
404
+ "0": string;
405
+ };
406
+ "relativeTime": {
407
+ "future": {
408
+ "one": string;
409
+ "other": string;
410
+ };
411
+ "past": {
412
+ "one": string;
413
+ "other": string;
414
+ };
415
+ };
416
+ };
417
+ };
418
+ "locale": string;
419
+ };
420
+ export default _default;
package/lib/en.js ADDED
@@ -0,0 +1,3 @@
1
+ /* @generated */
2
+ // prettier-ignore
3
+ export default { "fields": { "year": { "displayName": "year", "relative": { "0": "this year", "1": "next year", "-1": "last year" }, "relativeTime": { "future": { "one": "in {0} year", "other": "in {0} years" }, "past": { "one": "{0} year ago", "other": "{0} years ago" } } }, "year-short": { "displayName": "yr.", "relative": { "0": "this yr.", "1": "next yr.", "-1": "last yr." }, "relativeTime": { "future": { "one": "in {0} yr.", "other": "in {0} yr." }, "past": { "one": "{0} yr. ago", "other": "{0} yr. ago" } } }, "year-narrow": { "displayName": "yr.", "relative": { "0": "this yr.", "1": "next yr.", "-1": "last yr." }, "relativeTime": { "future": { "one": "in {0} yr.", "other": "in {0} yr." }, "past": { "one": "{0} yr. ago", "other": "{0} yr. ago" } } }, "quarter": { "displayName": "quarter", "relative": { "0": "this quarter", "1": "next quarter", "-1": "last quarter" }, "relativeTime": { "future": { "one": "in {0} quarter", "other": "in {0} quarters" }, "past": { "one": "{0} quarter ago", "other": "{0} quarters ago" } } }, "quarter-short": { "displayName": "qtr.", "relative": { "0": "this qtr.", "1": "next qtr.", "-1": "last qtr." }, "relativeTime": { "future": { "one": "in {0} qtr.", "other": "in {0} qtrs." }, "past": { "one": "{0} qtr. ago", "other": "{0} qtrs. ago" } } }, "quarter-narrow": { "displayName": "qtr.", "relative": { "0": "this qtr.", "1": "next qtr.", "-1": "last qtr." }, "relativeTime": { "future": { "one": "in {0} qtr.", "other": "in {0} qtrs." }, "past": { "one": "{0} qtr. ago", "other": "{0} qtrs. ago" } } }, "month": { "displayName": "month", "relative": { "0": "this month", "1": "next month", "-1": "last month" }, "relativeTime": { "future": { "one": "in {0} month", "other": "in {0} months" }, "past": { "one": "{0} month ago", "other": "{0} months ago" } } }, "month-short": { "displayName": "mo.", "relative": { "0": "this mo.", "1": "next mo.", "-1": "last mo." }, "relativeTime": { "future": { "one": "in {0} mo.", "other": "in {0} mo." }, "past": { "one": "{0} mo. ago", "other": "{0} mo. ago" } } }, "month-narrow": { "displayName": "mo.", "relative": { "0": "this mo.", "1": "next mo.", "-1": "last mo." }, "relativeTime": { "future": { "one": "in {0} mo.", "other": "in {0} mo." }, "past": { "one": "{0} mo. ago", "other": "{0} mo. ago" } } }, "week": { "displayName": "week", "relative": { "0": "this week", "1": "next week", "-1": "last week" }, "relativeTime": { "future": { "one": "in {0} week", "other": "in {0} weeks" }, "past": { "one": "{0} week ago", "other": "{0} weeks ago" } } }, "week-short": { "displayName": "wk.", "relative": { "0": "this wk.", "1": "next wk.", "-1": "last wk." }, "relativeTime": { "future": { "one": "in {0} wk.", "other": "in {0} wk." }, "past": { "one": "{0} wk. ago", "other": "{0} wk. ago" } } }, "week-narrow": { "displayName": "wk.", "relative": { "0": "this wk.", "1": "next wk.", "-1": "last wk." }, "relativeTime": { "future": { "one": "in {0} wk.", "other": "in {0} wk." }, "past": { "one": "{0} wk. ago", "other": "{0} wk. ago" } } }, "day": { "displayName": "day", "relative": { "0": "today", "1": "tomorrow", "-1": "yesterday" }, "relativeTime": { "future": { "one": "in {0} day", "other": "in {0} days" }, "past": { "one": "{0} day ago", "other": "{0} days ago" } } }, "day-short": { "displayName": "day", "relative": { "0": "today", "1": "tomorrow", "-1": "yesterday" }, "relativeTime": { "future": { "one": "in {0} day", "other": "in {0} days" }, "past": { "one": "{0} day ago", "other": "{0} days ago" } } }, "day-narrow": { "displayName": "day", "relative": { "0": "today", "1": "tomorrow", "-1": "yesterday" }, "relativeTime": { "future": { "one": "in {0} day", "other": "in {0} days" }, "past": { "one": "{0} day ago", "other": "{0} days ago" } } }, "hour": { "displayName": "hour", "relative": { "0": "this hour" }, "relativeTime": { "future": { "one": "in {0} hour", "other": "in {0} hours" }, "past": { "one": "{0} hour ago", "other": "{0} hours ago" } } }, "hour-short": { "displayName": "hr.", "relative": { "0": "this hour" }, "relativeTime": { "future": { "one": "in {0} hr.", "other": "in {0} hr." }, "past": { "one": "{0} hr. ago", "other": "{0} hr. ago" } } }, "hour-narrow": { "displayName": "hr.", "relative": { "0": "this hour" }, "relativeTime": { "future": { "one": "in {0} hr.", "other": "in {0} hr." }, "past": { "one": "{0} hr. ago", "other": "{0} hr. ago" } } }, "minute": { "displayName": "minute", "relative": { "0": "this minute" }, "relativeTime": { "future": { "one": "in {0} minute", "other": "in {0} minutes" }, "past": { "one": "{0} minute ago", "other": "{0} minutes ago" } } }, "minute-short": { "displayName": "min.", "relative": { "0": "this minute" }, "relativeTime": { "future": { "one": "in {0} min.", "other": "in {0} min." }, "past": { "one": "{0} min. ago", "other": "{0} min. ago" } } }, "minute-narrow": { "displayName": "min.", "relative": { "0": "this minute" }, "relativeTime": { "future": { "one": "in {0} min.", "other": "in {0} min." }, "past": { "one": "{0} min. ago", "other": "{0} min. ago" } } }, "second": { "displayName": "second", "relative": { "0": "now" }, "relativeTime": { "future": { "one": "in {0} second", "other": "in {0} seconds" }, "past": { "one": "{0} second ago", "other": "{0} seconds ago" } } }, "second-short": { "displayName": "sec.", "relative": { "0": "now" }, "relativeTime": { "future": { "one": "in {0} sec.", "other": "in {0} sec." }, "past": { "one": "{0} sec. ago", "other": "{0} sec. ago" } } }, "second-narrow": { "displayName": "sec.", "relative": { "0": "now" }, "relativeTime": { "future": { "one": "in {0} sec.", "other": "in {0} sec." }, "past": { "one": "{0} sec. ago", "other": "{0} sec. ago" } } } }, "locale": "en" };
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.7.0"
8
+ "packageVersion": "7.7.8"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@formatjs/intl-relativetimeformat",
3
- "version": "4.5.7",
3
+ "version": "4.5.11",
4
4
  "description": "Formats JavaScript dates to relative time strings.",
5
5
  "keywords": [
6
6
  "intl",
@@ -20,11 +20,11 @@
20
20
  "url": "git@github.com:formatjs/formatjs.git"
21
21
  },
22
22
  "devDependencies": {
23
- "@formatjs/intl-pluralrules": "^1.5.0",
24
- "formatjs-extract-cldr-data": "^10.0.4"
23
+ "@formatjs/intl-pluralrules": "^1.5.4",
24
+ "formatjs-extract-cldr-data": "^10.1.3"
25
25
  },
26
26
  "dependencies": {
27
- "@formatjs/intl-utils": "^2.0.4"
27
+ "@formatjs/intl-utils": "^2.2.1"
28
28
  },
29
29
  "main": "dist/index.js",
30
30
  "module": "lib/index.js",
@@ -35,7 +35,8 @@
35
35
  "clean": "rimraf dist lib dist-es6",
36
36
  "compile": "tsc && api-extractor run --local && tsc -p tsconfig.cjs.json && tsc -p tsconfig.es6.json && rollup -c rollup.config.js",
37
37
  "jest": "cross-env NODE_ICU_DATA=../../node_modules/full-icu TS_NODE_PROJECT=tsconfig.cjs.json cross-env NODE_ENV=test jest",
38
- "test": "npm run jest && cross-env NODE_ICU_DATA=../../node_modules/full-icu TS_NODE_PROJECT=tsconfig.cjs.json ts-node tests/runner"
38
+ "test262": "cross-env NODE_ICU_DATA=../../node_modules/full-icu TS_NODE_PROJECT=tsconfig.cjs.json ts-node tests/runner",
39
+ "test": "npm run jest && npm run test262"
39
40
  },
40
41
  "files": [
41
42
  "dist-es6",
@@ -47,5 +48,5 @@
47
48
  ],
48
49
  "homepage": "https://github.com/formatjs/formatjs",
49
50
  "license": "MIT",
50
- "gitHead": "a7842673d8ad205171ad7c8cb8bb2f318b427c0c"
51
+ "gitHead": "8481b5571e5aa2824ade8dee03b069ad0e186c44"
51
52
  }
package/src/core.ts CHANGED
@@ -127,7 +127,7 @@ function singularRelativeTimeUnit(unit: FormattableUnit): Unit {
127
127
  return unit;
128
128
  }
129
129
 
130
- const NUMBERING_SYSTEM_REGEX = /[a-z0-9]{3,8}(-[a-z0-9]{3,8})*/gi;
130
+ const NUMBERING_SYSTEM_REGEX = /^[a-z0-9]{3,8}(-[a-z0-9]{3,8})*$/i;
131
131
 
132
132
  interface RelativeTimeFormatInternal {
133
133
  numberFormat: Intl.NumberFormat;
package/src/en.ts ADDED
@@ -0,0 +1,3 @@
1
+ /* @generated */
2
+ // prettier-ignore
3
+ export default {"fields":{"year":{"displayName":"year","relative":{"0":"this year","1":"next year","-1":"last year"},"relativeTime":{"future":{"one":"in {0} year","other":"in {0} years"},"past":{"one":"{0} year ago","other":"{0} years ago"}}},"year-short":{"displayName":"yr.","relative":{"0":"this yr.","1":"next yr.","-1":"last yr."},"relativeTime":{"future":{"one":"in {0} yr.","other":"in {0} yr."},"past":{"one":"{0} yr. ago","other":"{0} yr. ago"}}},"year-narrow":{"displayName":"yr.","relative":{"0":"this yr.","1":"next yr.","-1":"last yr."},"relativeTime":{"future":{"one":"in {0} yr.","other":"in {0} yr."},"past":{"one":"{0} yr. ago","other":"{0} yr. ago"}}},"quarter":{"displayName":"quarter","relative":{"0":"this quarter","1":"next quarter","-1":"last quarter"},"relativeTime":{"future":{"one":"in {0} quarter","other":"in {0} quarters"},"past":{"one":"{0} quarter ago","other":"{0} quarters ago"}}},"quarter-short":{"displayName":"qtr.","relative":{"0":"this qtr.","1":"next qtr.","-1":"last qtr."},"relativeTime":{"future":{"one":"in {0} qtr.","other":"in {0} qtrs."},"past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"}}},"quarter-narrow":{"displayName":"qtr.","relative":{"0":"this qtr.","1":"next qtr.","-1":"last qtr."},"relativeTime":{"future":{"one":"in {0} qtr.","other":"in {0} qtrs."},"past":{"one":"{0} qtr. ago","other":"{0} qtrs. ago"}}},"month":{"displayName":"month","relative":{"0":"this month","1":"next month","-1":"last month"},"relativeTime":{"future":{"one":"in {0} month","other":"in {0} months"},"past":{"one":"{0} month ago","other":"{0} months ago"}}},"month-short":{"displayName":"mo.","relative":{"0":"this mo.","1":"next mo.","-1":"last mo."},"relativeTime":{"future":{"one":"in {0} mo.","other":"in {0} mo."},"past":{"one":"{0} mo. ago","other":"{0} mo. ago"}}},"month-narrow":{"displayName":"mo.","relative":{"0":"this mo.","1":"next mo.","-1":"last mo."},"relativeTime":{"future":{"one":"in {0} mo.","other":"in {0} mo."},"past":{"one":"{0} mo. ago","other":"{0} mo. ago"}}},"week":{"displayName":"week","relative":{"0":"this week","1":"next week","-1":"last week"},"relativeTime":{"future":{"one":"in {0} week","other":"in {0} weeks"},"past":{"one":"{0} week ago","other":"{0} weeks ago"}}},"week-short":{"displayName":"wk.","relative":{"0":"this wk.","1":"next wk.","-1":"last wk."},"relativeTime":{"future":{"one":"in {0} wk.","other":"in {0} wk."},"past":{"one":"{0} wk. ago","other":"{0} wk. ago"}}},"week-narrow":{"displayName":"wk.","relative":{"0":"this wk.","1":"next wk.","-1":"last wk."},"relativeTime":{"future":{"one":"in {0} wk.","other":"in {0} wk."},"past":{"one":"{0} wk. ago","other":"{0} wk. ago"}}},"day":{"displayName":"day","relative":{"0":"today","1":"tomorrow","-1":"yesterday"},"relativeTime":{"future":{"one":"in {0} day","other":"in {0} days"},"past":{"one":"{0} day ago","other":"{0} days ago"}}},"day-short":{"displayName":"day","relative":{"0":"today","1":"tomorrow","-1":"yesterday"},"relativeTime":{"future":{"one":"in {0} day","other":"in {0} days"},"past":{"one":"{0} day ago","other":"{0} days ago"}}},"day-narrow":{"displayName":"day","relative":{"0":"today","1":"tomorrow","-1":"yesterday"},"relativeTime":{"future":{"one":"in {0} day","other":"in {0} days"},"past":{"one":"{0} day ago","other":"{0} days ago"}}},"hour":{"displayName":"hour","relative":{"0":"this hour"},"relativeTime":{"future":{"one":"in {0} hour","other":"in {0} hours"},"past":{"one":"{0} hour ago","other":"{0} hours ago"}}},"hour-short":{"displayName":"hr.","relative":{"0":"this hour"},"relativeTime":{"future":{"one":"in {0} hr.","other":"in {0} hr."},"past":{"one":"{0} hr. ago","other":"{0} hr. ago"}}},"hour-narrow":{"displayName":"hr.","relative":{"0":"this hour"},"relativeTime":{"future":{"one":"in {0} hr.","other":"in {0} hr."},"past":{"one":"{0} hr. ago","other":"{0} hr. ago"}}},"minute":{"displayName":"minute","relative":{"0":"this minute"},"relativeTime":{"future":{"one":"in {0} minute","other":"in {0} minutes"},"past":{"one":"{0} minute ago","other":"{0} minutes ago"}}},"minute-short":{"displayName":"min.","relative":{"0":"this minute"},"relativeTime":{"future":{"one":"in {0} min.","other":"in {0} min."},"past":{"one":"{0} min. ago","other":"{0} min. ago"}}},"minute-narrow":{"displayName":"min.","relative":{"0":"this minute"},"relativeTime":{"future":{"one":"in {0} min.","other":"in {0} min."},"past":{"one":"{0} min. ago","other":"{0} min. ago"}}},"second":{"displayName":"second","relative":{"0":"now"},"relativeTime":{"future":{"one":"in {0} second","other":"in {0} seconds"},"past":{"one":"{0} second ago","other":"{0} seconds ago"}}},"second-short":{"displayName":"sec.","relative":{"0":"now"},"relativeTime":{"future":{"one":"in {0} sec.","other":"in {0} sec."},"past":{"one":"{0} sec. ago","other":"{0} sec. ago"}}},"second-narrow":{"displayName":"sec.","relative":{"0":"now"},"relativeTime":{"future":{"one":"in {0} sec.","other":"in {0} sec."},"past":{"one":"{0} sec. ago","other":"{0} sec. ago"}}}},"locale":"en"};