-
Notifications
You must be signed in to change notification settings - Fork 140
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
Add <time> element #86
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @harrydayexe, and very sorry for taking so long to review this PR! I left a suggestion inline, which I think might simplify the implementation quite a bit (and make it easier to maintain). Let me know what you think.
This is to remvove a dependecy on Foundation for a DateFormatter and to enable the user to select what kind of format they wish to select due to the multitude of formats available
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating your PR, @harrydayexe! I just have a few more pieces of feedback in order to make this change fully mergable. Let me know if I can help out in any way.
Removed Foundation imports and unneeded HTMLDateTimeContext as well as fixed some code style issues
Hopefully those changes are everything you spotted! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great now, thanks a lot @harrydayexe! 😀
This is a quick implementation of the
<time>
element.Reference: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-time-element