Foreign earned income physical presence test

I was abroad for 365 days. I have typed the dates, and it tells me the dates do not add to 330 days. What have I done wrong? 08/14/2015 to 08/22/2016