[bug fix] TDIS-6862 - adjust duration assignment for CalendarTask
Merge pull request #276 from DonnaWuDongxia/next1

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