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

set output timezone in msg-object #10

Closed Rene-Auberger closed 5 years ago

Rene-Auberger commented 7 years ago

A possibility to set the output timezone for node-red-contrib-moment in the msg-object that is passed to the node would be very helpful in many situations.

TotallyInformation commented 7 years ago

Maybe allow msg.moment to be set with element names matching the internal config variables. Then allow those to override the config settings.

TotallyInformation commented 5 years ago

Going to close this as it has been open for a long time. However, it is now on my backlog for a future release.