mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Minor fix in timepicker
This commit is contained in:
parent
5a70cec7a2
commit
4af9a374d6
@ -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…
x
Reference in New Issue
Block a user