TotallyInformation / node-red-contrib-moment

Node-Red Node that produces formatted Date/Time output using the Moment.JS library. Timezone, dst and locale aware.
Apache License 2.0
34 stars 16 forks source link

Node to convert elapsed time input to formatted output #17

Closed TotallyInformation closed 5 years ago

TotallyInformation commented 7 years ago

Although the humanize node allows input of seconds - it only converts it to an approximate output.

It would be useful to have a node that could take input in a number of elapsed time formats such as:

and output a formatted elapsed time such as:

TotallyInformation commented 5 years ago

Closed for now as it is on my backlog for a future release.

k5map commented 3 years ago

@TotallyInformation ... I read this post and have a need for humanize to provide a more accurate output (like when you run CLI command uptime on the RPi). Do you have any plans to add this feature?

TotallyInformation commented 3 years ago

Hi there, thanks for getting in touch. I've really not had time to work on this node at all recently. Really it needs rewriting to use something other than momenjs anyway since that is pretty much a dead project.

Of course, if you have the time and skills to do a PR, please do feel free :-)