Lights Off-Cancelable if Motion Sensor is Active

No, you don't actually. The end time take up to 59 seconds after the minute...so it triggers whenever the minute is equal to that. There is no rounding, it's truncated . So, if the time is 12:01:59.9999, the rule will still use the 2nd range because the time is still 12:01.

From bruce:

So, if 12:00 is the ending time, it will trigger until 12:00:59.9999.