kak/datetimepicker datetimepicker widget for Yii2

widgetwysiwygdatetimepickerbootstrapdatetimepickerforyii2

kak-datetimepicker

Yii widget bootstrap DateTimePicker

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist kak/datetimepicker "*"

or add

"kak/datetimepicker": "*"

to the require section of your composer.json file.

Usage

    use kak\widgets\datetimepicker\DateTimePicker;
?>
...
<?=$form->field($model,'dateIn')->widget(DateTimePicker::className(),[
     'locale' => 'ru',
     'format' => 'DD.MM.YYYY',
     'showInputIcon' => false
])?>

Or

 <?=DateTimePicker::widget([
    'name' => 'dateIn',
    'clientOptions' => [
        'locale' => 'ru'
    ]
]);?>

full docs https://getdatepicker.com/4/Options/ for clientOptions

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

Comments



1.1.0 is the latest of 2 releases



MIT license
Stats
0 github stars & 0 github forks
1 downloads in the last day
12 downloads in the last 30 days
2214 total downloads