dustinrue/ControlPlane — pull request #358 by kfix (2014-07-24 07:47:51+00:00)
Title: support overnight TimeOfDay rules

When the user sets up a TimeOfDay rule that crosses midnight, we need to add a day to the end-time so that NSDate comparisons work correctly during rule match. The hour & minute components of that end time are not altered and the DayOfWeek checks will still apply.