Form date format fix