Download the PHP package adeattwood/yii2-ui-date-time-picker without Composer
On this page you can find all versions of the php package adeattwood/yii2-ui-date-time-picker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-ui-date-time-picker
yii2-ui-date-time-picker
Yii 2 Date time picker using jquery ui and the time picker add on
This widget uses timepicker addon for jQuery UI Datepicker
Installation
composer require adeattwood/yii2-ui-date-time-picker
Usage
Basic usage
use adeattwood\yii2\datetimepicker\UiDateTimePicker;
<?= UiDateTimePicker::widget([
'name' => 'date-picker',
]) ?>
Use with active form
use adeattwood\yii2\datetimepicker\UiDateTimePicker;
<?= $form->field($model, 'date-time')->widget(
UiDateTimePicker::classname()
); ?>
Adding options to the date time picker
Options can be found in the time addon documentation
use adeattwood\yii2\datetimepicker\UiDateTimePicker;
<?= $form->field($model, 'date-time')->widget(
UiDateTimePicker::classname()
[
'datePickerOptions' => [
'controlType' => 'select',
'oneLine' => true,
'timeFormat' => 'hh:mm tt'
]
]
); ?>
All versions of yii2-ui-date-time-picker with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
yiisoft/yii2 Version ~2.0.5
yiisoft/yii2-bootstrap Version ~2.0.0
bower-asset/jqueryui-timepicker-addon Version ^1.6
yiisoft/yii2 Version ~2.0.5
yiisoft/yii2-bootstrap Version ~2.0.0
bower-asset/jqueryui-timepicker-addon Version ^1.6
The package adeattwood/yii2-ui-date-time-picker contains the following files
Loading the files please wait ....