Fix issue with alarm rule when time drifts (#2677)
Fix issue with alarm rule when time drifts (#2677)

Currently the alarm may be canceled when the clock of the mobile device is ahead the time of the server. With this commit it's only an issue when the time drifts more than 5 seconds and not just a few milliseconds as before.

The rule was written by @rkoshak: https://community.openhab.org/t/alarmclock-doesn-t-fire/87202/68
openhab/openhab.android