validated data for addtrip page
fixed issue format date incorrectly