conquer/daterangepicker

Yii2 Date Range Picker widget

1.0 2015-04-10 16:15 UTC

This package is auto-updated.

Last update: 2024-10-24 03:55:36 UTC


README

Description

A JavaScript widget for choosing date ranges. Designed to work with the Bootstrap CSS framework. For more information please visit Date Range Picker

Installation

The preferred way to install this extension is through composer.

To install, either run

$ php composer.phar require conquer/daterangepicker "*"

or add

"conquer/daterangepicker": "*"

to the require section of your composer.json file.

Usage

use conquer\daterangepicker\DaterangepickerWidget;

$form->field($model, 'range')->widget(
    DaterangepickerWidget::className(),
    [
        'language'=>'ru',
    ]
);

License

conquer/daterangepicker is released under the MIT License. See the bundled LICENSE.md for details.