metalguardian/yii-date-time-picker

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

select date and time yii widget

dev-master 2015-02-04 16:20 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:26:35 UTC


README

Yii datetime picker. Used jQuery Timepicker Addon.

Full datetime picker documentation: http://trentrichardson.com/examples/timepicker/

$this->widget(
	\yiiDateTimePicker\CJuiDateTimePicker::className(),
	array(
		'model' => $news, // model object
		'attribute' => 'eventDate', // attribute name
		'mode' => 'datetime' // use "time","date" or "datetime" (default)
		'options' => array(), // jquery plugin options
	)
);