Fixed #18: Time triggers fail if the time is earlier than the first trigger of a day Sometimes I really really dislike C++ and it's lack of helpful warnings, like signed-unsigned comparisons and allowing switch without case. Too easy to miss.