Skip to content

Conversation

@zaataylor
Copy link
Contributor

@zaataylor zaataylor commented Oct 28, 2025

These changes enable the <relative-time> element to support user-supplied thresholds that pull from the value of a newly defined data-preferred-threshold attribute. The distinction between this feature and the pre-existing threshold support offered by the element already is that it will theoretically enable per-user specification of preferred thresholds over all <relative-time> elements. This would enable us to support something akin to a user setting allowing a developer to decide how long times show up as relative before they are shown as absolute time representations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants