Display Dates En Update Form Cjuidatepicker

Hello,

I have a problem to display my date correctly en the update form.

My date is saved in my data base as an integer.(i use CDateTimeParser::parse en my beforeSave).

I don’t have problem with list view and detail view : the date is displayed correctly as dd/mm/yyyy. But in the update form is displayed as an integer.

I used a function afterFind, that solved the problem in the update form but create another problem with the view list and the detail view.

What can i do?