[bug fix] TDIS-6862 - adjust duration assignment for CalendarTask