Minor fix in timepicker

This commit is contained in:
Pásztor Gábor 2016-01-14 13:17:45 +01:00
parent 5a70cec7a2
commit 4af9a374d6

View File

@ -153,7 +153,7 @@ class DatePicker extends FormWidgetBase
$value .= ' ' . $timeValue . ':00';
}
elseif ($this->mode == 'time') {
$value .= ':00';
$value = substr($value, 0, 5) . ':00';
}
return $value;