Add Pm / Am Option To Time In Ejuidatetimepicker

Hi

I need to add pm/am option but I have no idea how ?

This my code




<?php


$this->widget(

	'ext.jui.EJuiDateTimePicker',

	array(

    	'model' 	=> $model,

    	'attribute' => 'time',

    	'language'=> 'ar',//default Yii::app()->language

     	'mode'	=> 'time',//'datetime' or 'time' ('datetime' default)

    	'options'   => array(

    	'timeFormat'=> 'hh:mm ',

    	'showAnim'=>'fold',


    	


        	//'timeFormat' => '',//'hh:mm tt' default

    	),

	)

);




?>

Thanks in advance

try


        'options'   => array(

        'timeFormat'=> 'hh:mm ',

        'showAnim'=>'fold',

        'showMeridian'=>true

         ...)

Thanks but not worked :(

One more try


'timeFormat'=> 'hh:mm tt',

Also Not Worked :(

I don’t think this is implemented.

Try replacing the JS file with the latest one off the jquery plugin author’s website?

I used this ext

http://www.yiiframework.com/extension/juidatetimepicker/

Dear Friend

You can set the property "ampm" to true.




'options'   => array(

        'timeFormat'=> 'hh:mm tt',// tt is essential to display the am/pm

        'showAnim'=>'fold',

         'ampm'=>true, //default false.

        ),




Regards.

Thanks my friend seenivasan , you always fix my problems :) also thanks mirunho for ur trying to find solutions

thats the ticket :D


 'ampm'=>true, //default false.

seek alot to find this option lol!