ejuidatetimepicker EJuiDateTimePicker a date picker where you can also pick the time

  1. Requirements
  2. Installation
  3. Usage
  4. Versions

EJuiDateTimePicker is an extension of CJuiDatePicker. It extends the datepicker with the possibility to also set the time. Time is set using two sliders. The extension uses the datetimepicker addon developed by Trent Richardson.

Requirements

Yii 1.1.4 or above

Installation

Unpack the code in protected/extensions

Usage

<?php 
$this->widget('application.extensions.timepicker.EJuiDateTimePicker',array(
	'model'=>$model,
	'attribute'=>'calev_start',
	'options'=>array(
		'hourGrid' => 4,
		'hourMin' => 9,
		'hourMax' => 17,
		'timeFormat' => 'h:m',
		'changeMonth' => true,
		'changeYear' => false,
		),
	));  
?>

Versions

  • 1.0 2010-11-12 - Initial release
  • 1.1 2010-11-20 - Various small changes as requested
  • 1.2 2010-11-24 - Various small changes as requested
31 0
30 followers
5 368 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: User Interface
Developed by: mbetel
Created on: Nov 12, 2010
Last updated: 13 years ago

Downloads

show all

Related Extensions