Changed planned_date to date