metalguardian / yii-date-time-picker-widget
Installs: 47
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 2
Open Issues: 0
Type:yii-extension
Requires
- bower-asset/datetimepicker: 2.4.5
- yiisoft/yii: *
This package is not auto-updated.
Last update: 2022-02-01 12:41:22 UTC
README
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.