Template Task Duration

The Duration(field) on Task for the project template not working Properly
I set Duration to 0 for second task, that means the Seccond task Expected End date of Second Task Must be same as First Task, but it getting the next date