Merge pull request #1700 from gpasztor87/develop
Minor fix in timepicker
This commit is contained in:
commit
b21a0c453d
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue