added enddate to the calendar and pdf export