calendar: display due date according to task.endDate and week.days[6], regardless of task.due. task.due is no use now. Think, if a task is to do something and then submit the work at the end, describe the task as "do and submit", it will display the due date at the last week automatically.