diff --git a/lib/Cake/View/Helper/FormHelper.php b/lib/Cake/View/Helper/FormHelper.php index 0725a1a25..1d3dddfc1 100644 --- a/lib/Cake/View/Helper/FormHelper.php +++ b/lib/Cake/View/Helper/FormHelper.php @@ -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') {