metalguardian/yii-date-time-picker-widget

extensionwidgetjquerydatepickertimepicker

DateTimePicker Yii widget

This yii extension is a wrapper for the powerful jQuery date-time picker

Installation

Install this extension using composer.

Run

php composer.phar require metalguardian/yii-date-time-picker-widget "*"

or add

"metalguardian/yii-date-time-picker-widget": "*"

to the require section of the composer.json file.

Usage


    <?php 
        $this->widget(
            \metalguardian\DateTimePicker::className(),
            array(
                'model' => $model,
                'attribute' => 'date_time_attribute',
                'options' => array(
                    'format' => 'yy-mm-dd',
                ),
                'htmlOptions' => array(
                    'class' => 'custom-class',
                ),
            )
        );
    ?>

For complete documentation of JQuery DateTimePicker and all widget options please refer to the documentation page

License

yii2-fotorama-widget is released under the MIT License. See the bundled LICENSE for details.

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
0 github stars & 2 github forks
0 downloads in the last day
0 downloads in the last 30 days
47 total downloads