ccutrer / openhab-jrubyscripting

JRuby Libraries for Openhab
Eclipse Public License 2.0
1 stars 1 forks source link

fix/improve DateTimeItem#format_type #170

Closed ccutrer closed 1 year ago

ccutrer commented 1 year ago

Use DateTimeType for Ruby times, instead of StringType. This will make .ensure (and other things) work properly because the resulting type will be properly comparable to the current item's state