Add duration information for an activity if end date is set