fixed end date format