This is a StencilJS Web Component that displays a datetime value relative to the current time. It is live updated as time goes on.
This component is in early development. User beware!
Follow the Stencil documentation for installation in your framework of choice.
<live-datetime datetime="2021-01-05T12:00:00" />
The datetime attribute can be any format that Moment.js can parse.