format the datepicker in order to justify the file's date field