Fix the date format for cases