Fix end_date for details page.