artsoft/yii2-date-range-picker

There is no license information available for the latest version (dev-master) of this package.

dangrossman daterangepicker yii 2 gridview

dev-master 2019-03-29 14:19 UTC

This package is not auto-updated.

Last update: 2024-04-17 07:49:05 UTC


README

Author vi mark https://github.com/webvimark/date-range-picker

Update Artur Markov

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist artsoft/yii2-date-range-picker "*"

or add

"artsoft/yii2-date-range-picker": "*"

to the require section of your composer.json file.

Configuration

If input in GridView

use  artsoft\widgets\DateRangePicker;

<?php DateRangePicker::widget([
	'model' => $model,
	'attribute' =>'created_at',
        'format' => 'YYYY.MM.DD H:mm',
        'opens' => 'left',

]) ?>