2017 © Pedro Peláez
 

yii2-extension yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

image

kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  • Tuesday, July 18, 2017
  • by kartik-v
  • Repository
  • 10 Watchers
  • 79 Stars
  • 970,084 Installations
  • PHP
  • 42 Dependents
  • 0 Suggesters
  • 49 Forks
  • 21 Open issues
  • 13 Versions
  • 9 % Grown

The README.md

Krajee Logo
yii2-widget-datetimepicker
Donate       kartikv

[![Stable Version](https://poser.pugx.org/kartik-v/yii2-widget-datetimepicker/v/stable)](https://packagist.org/packages/kartik-v/yii2-widget-datetimepicker) [![Untable Version](https://poser.pugx.org/kartik-v/yii2-widget-datetimepicker/v/unstable)](https://packagist.org/packages/kartik-v/yii2-widget-datetimepicker) [![License](https://poser.pugx.org/kartik-v/yii2-widget-datetimepicker/license)](https://packagist.org/packages/kartik-v/yii2-widget-datetimepicker) [![Total Downloads](https://poser.pugx.org/kartik-v/yii2-widget-datetimepicker/downloads)](https://packagist.org/packages/kartik-v/yii2-widget-datetimepicker) [![Monthly Downloads](https://poser.pugx.org/kartik-v/yii2-widget-datetimepicker/d/monthly)](https://packagist.org/packages/kartik-v/yii2-widget-datetimepicker) [![Daily Downloads](https://poser.pugx.org/kartik-v/yii2-widget-datetimepicker/d/daily)](https://packagist.org/packages/kartik-v/yii2-widget-datetimepicker)

The DateTimePicker widget is a Yii 2 wrapper for the Bootstrap DateTimePicker plugin with various enhancements. The plugin is a fork of the DateTimePicker plugin by @eternicode and adds the time functionality. The widget is similar to the DateTimePicker widget in most aspects, except that it adds the time functionality and does not support ranges. The widget is specially styled for Yii framework 2.0 and Bootstrap 3 and allows graceful degradation to a normal HTML text input, if the browser does not support JQuery. The widget supports these markups:, (*1)

  • Simple Input Markup
  • Component Markup - Addon Prepended
  • Component Markup - Addon Appended
  • Inline / Embedded Markup
  • Solo Button Markup

NOTE: This extension is a sub repo split of yii2-widgets. The split has been done since 08-Nov-2014 to allow developers to install this specific widget in isolation if needed. One can also use the extension the previous way with the whole suite of yii2-widgets., (*2)

Installation

The preferred way to install this extension is through composer. Check the composer.json for this extension's requirements and dependencies. Read this web tip /wiki on setting the minimum-stability settings for your application's composer.json., (*3)

To install, either run, (*4)

$ php composer.phar require kartik-v/yii2-widget-datetimepicker "*"

or add, (*5)

"kartik-v/yii2-widget-datetimepicker": "*"

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

Release Changes

NOTE: Refer the CHANGE LOG for details on changes to various releases., (*7)

Demo

You can refer detailed documentation and demos and API Documentation on usage of the extension., (*8)

Usage

use kartik\datetime\DateTimePicker;

echo '<label>Start Date/Time</label>';
echo DateTimePicker::widget([
    'name' => 'datetime_10',
    'options' => ['placeholder' => 'Select operating time ...'],
    'convertFormat' => true,
    'pluginOptions' => [
        'format' => 'd-M-Y g:i A',
        'startDate' => '01-Mar-2014 12:00 AM',
        'todayHighlight' => true
    ]
]);

License

yii2-widget-datetimepicker is released under the BSD-3-Clause License. See the bundled LICENSE.md for details., (*9)

The Versions

18/07 2017

dev-master

9999999-dev https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD-3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

08/06 2017

v1.4.4

1.4.4.0 https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD-3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

19/01 2017

v1.4.3

1.4.3.0 https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD-3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

10/01 2016

v1.4.2

1.4.2.0 https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD-3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

04/11 2015

v1.4.1

1.4.1.0 https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD-3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

25/01 2015

v1.4.0

1.4.0.0 https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD 3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

12/01 2015

v1.3.0

1.3.0.0 https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD 3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

04/12 2014

1.2.0.x-dev

1.2.0.9999999-dev https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD 3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

04/12 2014

v1.2.0

1.2.0.0 https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD 3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

28/11 2014

1.1.0.x-dev

1.1.0.9999999-dev https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD 3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

28/11 2014

v1.1.0

1.1.0.0 https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets)

  Sources   Download

BSD 3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

08/11 2014

1.0.0.x-dev

1.0.0.9999999-dev https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets).

  Sources   Download

BSD 3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime

08/11 2014

v1.0.0

1.0.0.0 https://github.com/kartik-v/yii2-widget-datetimepicker

Enhanced Yii2 wrapper for the bootstrap datetimepicker plugin (sub repo split from yii2-widgets).

  Sources   Download

BSD 3-Clause

The Requires

 

plugin extension yii2 jquery form widget select2 picker datetime