changed due date and appearance time to date instead of datetime