Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alarmClock: Catch NaN for hour/minute #10

Merged
merged 2 commits into from May 16, 2022
Merged

Conversation

florian-h05
Copy link
Owner

Fixes #9 where uninitialised hour/minute Items were parsed as NaN in the cron expression and led to errors in openhab-core.

Initialises hour/minute in case their are NaN with default value.

Additional refactorings were made.

@florian-h05 florian-h05 merged commit 60c7a49 into main May 16, 2022
@florian-h05 florian-h05 deleted the alarmclock-patch.1 branch May 16, 2022 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

alarmClock: Uninitialized hour/minutes Items are uncaught
1 participant