14 lines
400 B
PHP
14 lines
400 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
namespace Builder\View\Components\Form;
|
|
class DateTimePicker extends DatePicker
|
|
{
|
|
protected $componentName = "DateTimePicker";
|
|
protected $format = "yyyy-MM-dd HH:mm:ss";
|
|
protected $valueFormat = "yyyy-MM-dd HH:mm:ss";
|
|
static public function make($value = null, $type = "datetime")
|
|
{
|
|
return (new DateTimePicker($value))->type($type);
|
|
}
|
|
}
|