Fix case when due_date doesn't assigned for task.
Merge pull request #1 from ouyoutouchmytralala/patch-1

Fix case when due_date doesn't assigned for task.