Note, in the first half of 2023 this rule template will be rewritten to only support JS Scripting.
Runs at midnight and moves the date for any tagged DateTime Items that are in the past to today’s date. The rule handles DST. The tag it looks for is a configuration parameter. Any Item with the tag that is not a DateTime Item, those DateTime Items with a NULL or UNDEF state, and any DateTime Item whose state is in the future is ignored.
- Made compatible with both Nashorn and JSScripting
NOTE: Will drop Nashorn support sometime after OH 3.2 release.
- initial release