2017 © Pedro Peláez
 

yii2-extension yii2-date-range-picker

Wrapper of bootstrap date range picker for Yii2.

image

bupy7/yii2-date-range-picker

Wrapper of bootstrap date range picker for Yii2.

  • Saturday, December 12, 2015
  • by bupy7
  • Repository
  • 1 Watchers
  • 0 Stars
  • 54 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

yii2-date-range-picker

Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

Wrapper of bootstrap date range picker for Yii2., (*2)

More information about plugin: https://github.com/dangrossman/bootstrap-daterangepicker, (*3)

Installation

The preferred way to install this extension is through composer., (*4)

Either run, (*5)

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

or add, (*6)

"bupy7/yii2-date-range": "*"

to the require section of your composer.json file., (*7)

Usage

As field of form:, (*8)

echo $form->field($model, 'date_range')->widget(DateRangePicker::className(), [
    'pluginOptions' => [
        // see http://www.daterangepicker.com/#options
    ],

    'pluginEvents' => [
        // see http://www.daterangepicker.com/#events
    ],

    // Language of plugin. If `null` then `\yii\base\Application::language` will be used.
    'language' => 'ru',

    // Converting date format from PHP DateTime to Moment.js DateTime.
    'convertDateFormat' => true,

    // Options of field input.
    'options' => [

    ],
]);

As an independent widget:, (*9)

DateRangePicker::widget([
    'name' => 'date_time',

    'pluginOptions' => [
        // see http://www.daterangepicker.com/#options
    ],

    'pluginEvents' => [
        // see http://www.daterangepicker.com/#events
    ],

    // Language of plugin. If `null` then `\yii\base\Application::language` will be used.
    'language' => 'ru',

    // Converting date format from PHP DateTime to Moment.js DateTime.
    'convertDateFormat' => true,

    // Options of field input.
    'options' => [

    ],
]);

License

yii2-date-range-picker is released under the BSD 3-Clause License., (*10)

The Versions

12/12 2015

dev-master

9999999-dev

Wrapper of bootstrap date range picker for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 extension bootstrap date range picker

12/12 2015

v1.0.1

1.0.1.0

Wrapper of bootstrap date range picker for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 extension bootstrap date range picker

11/12 2015

v1.0.0

1.0.0.0

Wrapper of bootstrap date range picker for Yii2.

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 extension bootstrap date range picker