jensrossbach / node-red-contrib-chronos

Time-based Node-RED scheduling, repeating, queueing, routing, filtering and manipulating nodes
https://jensrossbach.github.io/node-red-contrib-chronos
MIT License
28 stars 1 forks source link

Add conversion to relative and calendar time to change node #137

Closed jensrossbach closed 5 months ago

jensrossbach commented 5 months ago

This pull request add two more predefined string formats to the convert action of the time change node: relative time converts to a string representing the time relative to the current time, being less precise the farer away it is. Calendar time converts to a string containing the absolute time (if not farer away than one week) and the date relative to today (or absolute if farer away than one week).