fixed date input params and format date string