Refactor into a time_period_form
Mess around with end_date errors