nikos7179
(nikos7179)
September 1, 2023, 6:36pm
1
Hi.
I have upgrade my system to 4.0.2 but now one of my rules dont work
anymore.
Can someone help me please?
I get this error:
Failed to execute script:
org.graalvm.polyglot.PolyglotException: TypeError: (intermediate value).ZonedDateTime.now(…).getHour is not a function
Thanks
Nikos
nikos7179
(nikos7179)
September 3, 2023, 10:30am
2
Ok i found the Solution
I had to declare the now blockly as a variable and then used it.
Rolli
(Roland Mayr)
September 3, 2023, 6:36pm
3
It would also work like this without a variable
nikos7179
(nikos7179)
September 4, 2023, 10:53am
4
I dont want now -1 day. I want from midnight until now.