Time

Use the Time component to show a human readable time your app.

Assign data-ts="Time" to a time to initialize it as a Time.

<time data-ts="Time" datetime="2015-11-04 03:59:33"></time>

If you do not trust the users device time, you can set the realtime attribute to mark the current time (the moment when the page renders).

<time data-ts="Time" datetime="2015-11-04 03:59:33" realtime="2015-11-04 03:59:35"></time>

If you set an invalid datetime, it will simply show the string.

<time data-ts="Time" datetime="A long time ago in a galaxy far far away"></time>