metalguardian/yii-date-time-picker-widget

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

dev-master 2016-04-06 06:59 UTC

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.