I need to update my Jython rules because Joda has been removed from OH3.
How can I achieve this with ZonedDateTime and DateTimeType in OH3?
from org.joda.time import DateTime
events.postUpdate("Awair_LastUpdate", str(DateTime.now()))
Tried different things here, but none of them worked. Mainly because I think I don’t know how I could format the ZonedDateTime to get accepted by the DateTimeType