8000 Merge pull request #287 from hidde/patch-1 · github/relative-time-element@15ca61e · GitHub
[go: up one dir, main page]

Skip to content

Commit 15ca61e

Browse files
authored
Merge pull request #287 from hidde/patch-1
docs: match examples with actual values
2 parents 3adc53e + 5cb4310 commit 15ca61e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -199,21 +199,21 @@ Precision can be used to limit the display of an `relative` or `duration` format
199199

200200
| `precision=` | format=duration |
201201
|:-------------:|:-------------------:|
202-
| seconds | 2y 6m 10d 3h 20m 8s |
203-
| minutes | 2y 6m 10d 3h 20m |
204-
| hours | 2y 6m 10d 3h |
205-
| days | 2y 6m 10d |
206-
| months | 2y 6m |
207-
| years | 2y |
202+
| second | 2y 6m 10d 3h 20m 8s |
203+
| minute | 2y 6m 10d 3h 20m |
204+
| hour | 2y 6m 10d 3h |
205+
| day | 2y 6m 10d |
206+
| month | 2y 6m |
207+
| year | 2y |
208208

209209
| `precision=` | format=relative |
210210
|:-------------:|:-------------------:|
211-
| seconds | 25 seconds |
212-
| minutes | now |
213-
| hours | now |
214-
| days | now |
215-
| months | now |
216-
| years | now |
211+
| second | 25 seconds |
212+
| minute | now |
213+
| hour | now |
214+
| day | now |
215+
| month | now |
216+
| year | now |
217217

218218

219219
##### threshold (`string`, default: `P30D`)

0 commit comments

Comments
 (0)
0