WesleyBranton / Grandfather-Clock

Turn your browser into a grandfather clock that plays a tune at the top of each hour!
https://addons.mozilla.org/firefox/addon/grandfather-clock/
Mozilla Public License 2.0
3 stars 1 forks source link

Self-check is not detecting if the alarm is set too far in the future #7

Closed WesleyBranton closed 5 years ago

WesleyBranton commented 5 years ago

Because the self-check that was introduced to fix issue #4 only checks if the alarm is set for a time that has already passed, it will not detect an alarm that's too far in the future. For example, if the user turns their clock back from 4:30 to 2:30, the alarm will not trigger until 5:00, since that technically passes the self-check as a time in the future.