Skip to content

Bug - timestamp - datetime attribute showing the wrong date on the demo page #7952

@kylebuch8

Description

@kylebuch8

Describe the problem
When you view the demo page for the Timestamp component, the datetime attribute has the wrong value for most of the examples.

image

How do you reproduce the problem?
Visit https://www.patternfly.org/v4/components/timestamp/ and view the datetime attribute in the time element for the timestamp examples.

Expected behavior
I'd expect the datetime attribute to have the ISO date value for the date prop passed in.

It's not wrong on all the examples which is kind of weird. It seems to work "Custom content" and "Custom tooltip" sections.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions