removed date_to_params