This is very true sadly. Most people greatly underestimate how complex it actually is to handle date times on computers.
This is a new thing in OH 2.2 release. It is just a warning, not an error. It will still work like this for some time. The warning is mainly to indicate that at some point, the method may go away at some point and is not really supported any longer. So it is a good idea to change it.
I believe you don’t need to get the calendar to call after or isAfter (I forget which call is supported if either). If not you can use:
(VSiPhone6_LocationLastUpdate.state as DateTimeType).getZonedDateTime.isAfter(now.minusMinutes(60))
Designer is end of life. It is already behind and only going to become more and more behind as the rest of OH advances.
Starting with OH 2.0 it already marked somethings wrong erroneously and the number of things Designer will erroneously mark as wrong is only growing. The new VSCode is now the officially recommended editor.
Thanks. I installed the OH extension and I do see different colors and so on. But the problems tab at the bottom is completely empty, even if I enter something stupid.
Do I need to enable or trigger a check?