fix select hours for 0/12

for hour 12 (e.g. local time 14 at UTC+2) the tests fail as `-= 12` casts to 0 and the `=== '00'` check is not triggered.

see http://ci.cakephp.org/job/CakePHP%202.3%20-%20MySQL/993/ etc