mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Fixing failing test that happened between 12:00 & 12:59
This commit is contained in:
parent
c2a96267b2
commit
be09c67fa6
1 changed files with 1 additions and 1 deletions
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue