- Notifications
You must be signed in to change notification settings - Fork187
Open
Description
I cannot getrelative 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 seenow until 1 minute has passed.format=elapsed works as i expect.

<html><body><p>Loaded this page<relative-timedatetime=""format="relative"id="dynamic1"></relative-time></p><p>You've been on this page for<relative-timedatetime=""format="duration"id="dynamic2"></relative-time></p><scripttype="module"src="https://unpkg.com/@github/relative-time-element@latest/dist/bundle.js"></script><script>document.getElementById('dynamic1').date=newDate()document.getElementById('dynamic2').date=newDate()</script></body></html>
Metadata
Metadata
Assignees
Labels
No labels