fix date format parameters.