date formatting in datepicker ctrl