fix wrong endTime for calendar events, fixes #29