|
|
@@ -2207,7 +2207,7 @@ class FormHelper extends AppHelper {
|
|
|
if ($attributes['value'] > 12 && !$format24Hours) {
|
|
|
$attributes['value'] -= 12;
|
|
|
}
|
|
|
- if ($attributes['value'] === '00' && !$format24Hours) {
|
|
|
+ if (($attributes['value'] === 0 || $attributes['value'] === '00') && !$format24Hours) {
|
|
|
$attributes['value'] = 12;
|
|
|
}
|
|
|
|