fixed date issues in edit-event-instance and event-instance