a new dateFormat for the new CJuiDatePicker

In my opinion a new dateFormat between short and medium is needed for the datepicker to work correctly.

Now there is

‘dateFormats’ =>

array (

'full' => 'EEEE d MMMM yyyy',


'long' => 'dd MMMM yyyy',


'medium' => 'dd/MMM/yyyy',


'short' => 'dd/MM/yy',

),

and a ‘dd/MM/yyyy’ is needed and that’s way:

if you set the property "language" of the datepicker it sets (in italian language for example) a date of 4-digit year and 2-digit (numerical) month:

eg: 01/01/2009 and yii doesn’t have this format!

you can call it "small" for example.

otherwise the language property is useless in this scenario.

also - a “mysql” date format (‘YYYY-MM-DD HH:MM:SS’) would be really nice

I would to set the current day(load from database), how to do this?

please help me thanks.