Skip to content

Inject datetime values as <time> element #2

@nichtich

Description

@nichtich
<wd-entity id="Q42" property="P569" />

should result in

<time datetime="1952-03-11">1952-03-11</time>

so it can better be reused for instance with https://timeago.yarp.com/ to customize how date values are rendered. The precision of a datetime value also needs to be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions