Fix incorrect default meridian

Forgot to remove a line
This commit is contained in:
Graham Watson 2013-03-14 16:58:13 -03:00
parent ec56d828b0
commit 2ac545291a

View file

@ -2390,7 +2390,6 @@ class FormHelper extends AppHelper {
} }
$change = (round($min * (1 / $interval)) * $interval) - $min; $change = (round($min * (1 / $interval)) * $interval) - $min;
$current->modify($change > 0 ? "+$change minutes" : "$change minutes"); $current->modify($change > 0 ? "+$change minutes" : "$change minutes");
$newTime = explode(' ', $current->format('Y m d H i a'));
$format = ($timeFormat == '12') ? 'Y m d h i a' : 'Y m d H i a'; $format = ($timeFormat == '12') ? 'Y m d h i a' : 'Y m d H i a';
$newTime = explode(' ', $current->format($format)); $newTime = explode(' ', $current->format($format));
list($year, $month, $day, $hour, $min, $meridian) = $newTime; list($year, $month, $day, $hour, $min, $meridian) = $newTime;