Fixing failing test that happened between 12:00 & 12:59

This commit is contained in:
mark_story 2011-07-02 13:01:08 -04:00
parent c2a96267b2
commit be09c67fa6

View file

@ -1990,7 +1990,7 @@ class FormHelper extends AppHelper {
$meridian = 'pm';
} elseif ($time[0] == '00' && $timeFormat == '12') {
$time[0] = 12;
} elseif ($time[0] > 12) {
} elseif ($time[0] >= 12) {
$meridian = 'pm';
}
if ($time[0] == 0 && $timeFormat == '12') {