openhab-scripters/openhab-helper-libraries

joda.time is no longer part of the OpenHab 3 Core

froido opened this issue · 2 comments

Describe the bug
joda.time is no longer part of the OpenHab 3 Core. Instead the Java Time API should be used. Throws an error, when importing core.triggers, implicitly core.utils.

To Reproduce
Steps to reproduce the behavior:

  1. Import 'core.utils'

Expected behavior
No upcomming errors while importing.

Environment (please complete the following information):

  • Jython version: 2.7.2 OH3 inbound
  • openHAB version: 3.0 stable
  • Release: 3.0.0

Additional context
There has already been some work done in the OpenHab community to workarround existing problems: Link

DateTime Conversion (openHAB 3.x)

Same here. Stuck with 'core.utils'. Looking forward to use jython rules in OH3.

Same behaviour on Docker image with 3.1.0 snapshot +1