Skip to content

Add HTML <time> elements for dates across templates - #532

Open
myakura wants to merge 1 commit into
simonw:mainfrom
myakura:add-time-elements-for-dates
Open

myakura wants to merge 1 commit into
simonw:mainfrom
myakura:add-time-elements-for-dates

Conversation

@myakura

@myakura myakura commented May 3, 2025

Copy link
Copy Markdown

HTML provides the <time> element to mark up dates, times, and durations.

https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-time-element https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/time

This patch wraps dates in the templates previously presented in plain text using <time>.

HTML provides the `<time>` element to mark up dates, times, and durations.

https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-time-element
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/time

This patch wraps dates in the templates previously presented in plain text using `<time>`.
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.

1 participant