Rule machine V5 not behaving like RM 4 with replace function

I'm running same code in RM 4 and RM 5
Set L-Date to '%date%'
Log: '%date%'
Replace 'Jul' from L-Date with '07'
Log: '%L-Date%'

in RM 4
18-07-2021
18-Jul-2021

In RM 5
18-Jul-2021
18-Jul-2021

Maybe this is a bug?

Please show the Rule 5.0 rule.

This is a bug, found and fixed. Fix will be out in next release. Thanks!

5 Likes

Thank you.

This bug has been fixed in latest release, 2.2.8.138.

1 Like

Download the Hubitat app