openhab-scripters / openhab-helper-libraries

Scripts and modules for use with openHAB
Eclipse Public License 1.0
88 stars 70 forks source link

[date] Added calendar_days parameter #108

Closed 5iver closed 5 years ago

5iver commented 5 years ago

The days_between function provides a result based on 24 hour intervals. I've added a calendar_days parameter so that you can specify if you'd like the result to return calendar days.

Resolves #107

Signed-off-by: Scott Rushworth openhab@5iver.com