Add end date to getEvents