Skip to content

datetime attribute on <time> should be an rfc3339 string, not an epoch #107

@jleclanche

Description

@jleclanche

Right now <Moment> outputs … datetime={epoch}. This should be an iso8609 / rfc3339 string instead.

Ref https://developer.mozilla.org/en-US/docs/Web/HTML/Element/time

I see it's being passed as a datetime to react so this may also be a react bug, nethertheless it should just be passed as a string to react imo.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions