Skip to content

Conversation

crowlKats
Copy link
Member

Closes #1280

(
<div class="mt-4">
This page was last modified on{" "}
<time datetime={modifiedDate.toString()}>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<time datetime={modifiedDate.toString()}>
<time datetime={modifiedDate.toISOString()}>

The toString() method of Date instances returns a string representing this date interpreted in the local timezone.

toString() returns localized date; but <time> requires datetime in ISO8601 format.

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.

Add last modified timestmp to content pages in docs
3 participants