obarabolia/yii2-airdatetime-widget

This package is abandoned and no longer maintained. No replacement package was suggested.

Date/Time Picker widget for Yii2 framework

0.0.1 2019-03-15 15:01 UTC

This package is auto-updated.

Last update: 2021-03-15 20:30:33 UTC


README

Date/Time Picker widget without bootstrap for Yii2 framework Based on Air Datepicker

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require obarabolia/yii2-airdatetime-widget

or add

"obarabolia/yii2-datetime-widget": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

<?php echo $form->field($model, 'attribute')->widget(
        obarabolia\yii2\airdatepicker\DateTimeWidget::class,
        [ ... options ... ]
    ); 
?>