Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Machine Readable Formats for DateTime with DATE_ONLY or TIME_ONLY #925

Merged
merged 5 commits into from
Apr 19, 2021

Conversation

Chaoste
Copy link
Contributor

@Chaoste Chaoste commented Apr 16, 2021

Purpose of PR

When one uses DateTime only showing the date or time, the datetime attribute should represent that, too.

I followed the respective MDN docs regarding which formats are allowed.

PR Checklist

  • I have read the relevant readme.md file(s)
  • All commits follow our Git commit message convention
  • Tests are added/updated/not required
  • Tests are passing
  • Storybook stories are added/updated/not required
  • Usage notes are added/updated/not required
  • Has been tested based on Contentful's browser support
  • Doesn't contain any sensitive information

@netlify
Copy link

netlify bot commented Apr 16, 2021

Deploy preview for forma-36 ready!

Built with commit e831621

https://deploy-preview-925--forma-36.netlify.app

@netlify
Copy link

netlify bot commented Apr 16, 2021

Deploy preview for forma-36 ready!

Built with commit f761071

https://deploy-preview-925--forma-36.netlify.app

Copy link
Collaborator

@denkristoffer denkristoffer left a comment

Choose a reason for hiding this comment

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

🙏

@denkristoffer
Copy link
Collaborator

@all-contributors please add @Chaoste for bug, code

@allcontributors
Copy link
Contributor

@denkristoffer

I've put up a pull request to add @Chaoste! 🎉

@denkristoffer denkristoffer merged commit cd2c6c4 into master Apr 19, 2021
@denkristoffer denkristoffer deleted the fix/datetime-attribute branch April 19, 2021 14:05
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.

3 participants