Skip to content

alex290/yii2-widget-datepicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii2-widget-datepicker

The DatePicker widget Yii2

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist alex290/yii2-datepicker "*"

or add

"alex290/yii2-datepicker": "*"

to the require section of your composer.json file.

Использование

поле $datetime должен быть формата intiger

<?= $form->field($model, 'datetime')->widget(alex290\datepicker\Datepicker::className(),[]) ?>```