juidatetimepicker DateTime picker with localization's support and current time instead zero in picker

  1. Requirements
  2. Install
  3. Usage
  4. Resources

EJuiDateTimePicker input widget, based on Timepicker Addon Version 1.0.4 extends CJuiDatePicker

In box: support localization's (i18n), compressed JS if not YII_DEBUG (min.js).

Also, the default is the current time in picker, instead of the zero time (the widget feature).

Requirements

Yii 1.1 or above

Install

Put files (assets, EJuiDateTimePicker.php) into /protected/extensions/jui

Usage

$this->widget(
    'ext.jui.EJuiDateTimePicker',
    array(
        'model'     => $model,
        'attribute' => 'publish_time',
        //'language'=> 'ru',//default Yii::app()->language
        //'mode'    => 'datetime',//'datetime' or 'time' ('datetime' default)
        'options'   => array(
            //'dateFormat' => 'dd.mm.yy',
            //'timeFormat' => '',//'hh:mm tt' default
        ),
    )
);

Resources

Download latest version from github

7 0
14 followers
3 512 downloads
Yii Version: 1.1
License: BSD-2-Clause
Category: Date and Time
Developed by: fad
Created on: Oct 5, 2012
Last updated: 12 years ago

Downloads

show all

Related Extensions