Support ranges that go to the very end of the day

Currently, only time ranges that end at 11:59 or before are accepted. This makes it impossible to define ranges that include the last minute of the day (23:59 - 24:00).

With this change, 24:00 is now a valid ending time, but times above 24:00 are still rejected as invalid.