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

Make epoch outputs numeric instead of string #35

Open TotallyInformation opened 4 years ago

TotallyInformation commented 4 years ago

This would make a great starter task for anyone wanting to help with maintaining/enhancing the moment node.

Thanks to @dceejay for the prompt:

when it return an epoch result (seconds or millisecs) - would it be sensible if that was actually a number rather than a string... to make comparisons easier in the next node etc.. ?