samilo
(Samiloxphp)
1
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
mirunho
(D Mirecki)
2
try
'options' => array(
'timeFormat'=> 'hh:mm ',
'showAnim'=>'fold',
'showMeridian'=>true
...)
mirunho
(D Mirecki)
4
One more try
'timeFormat'=> 'hh:mm tt',
dniznick
(Dniznick)
6
I don’t think this is implemented.
Try replacing the JS file with the latest one off the jquery plugin author’s website?
samilo
(Samiloxphp)
7
seenivasan
(Chellamnivas)
8
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.
samilo
(Samiloxphp)
9
Thanks my friend seenivasan , you always fix my problems
also thanks mirunho for ur trying to find solutions
Marcolini
(Marco Alves00)
10
thats the ticket 
'ampm'=>true, //default false.
seek alot to find this option lol!