Time

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

Assign data-ts="Time" to a time element to initialize it as a 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).

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

If you find a bug or need a feature…

  • Create GitHub Issue…