DateTime
DateTime serves for displaying and formatting a point in time.
Rules For Developers
- DateTime normally renders as a
timeelement. This can be overridden with thecomponentprop - When DateTime renders as HTML
time, it will set the machine-readabledatetimeHTML attribute automatically to either ISO-8601 calendar date or full timestamp based on whether theformatprop mentions hours. The datetime value can be overridden usinghtmlDateTimeAttributeprop