github / github/relative-time-element
Cannot get format=relative to display seconds
Open
- Dominant language
- JavaScript
- Stars
- 4k
- Forks
- 192
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 5
Description
I cannot get `relative` format to display second level precision. The docs suggest that the default precision is seconds and this table suggests that with format relative i should see seconds. But I only see `now` until 1 minute has passed. `format=elapsed` works as i expect.
```html
Loaded this page
You've been on this page for
document.getElementById('dynamic1').date = new Date()
document.getElementById('dynamic2').date = new Date()
```
Contributor guide
Assessment
This issue has not been assessed yet.