Finishing condition updateToThingElement and fix for DateTimeUtils.