Closed
Description
The date component for articles is still using a lot of boilerplate.
Right now it looks like this
<time itemprop="dateCreated datePublished" datetime="2022-03-25 20:49" title="2022-03-25 20:49">2022-03-25 20:49</time>
which is not very meaningful since the same string is repeated 3 times.
In the post excerpt it is displayed as Mar 25th, 2022 which is more human readable.
The way the component was intended to be made (but was not yet implemented) was that the datetime is a machine readable timestamp with timezone identifier. The title is a long format human readable time, and the default display is the shorthand used in the excerpt.
Metadata
Assignees
Labels
No labels