Fixed date format to match with back end.