Updated with author quote/confirmation*
*From comment provided by Gallifreyan
DailyBeast.com
I actually calculated the orbital trajectories that they needed to take to get from Earth to Mars. That’s a real thing that would work. But the movie changed how long the crew spent on the planet for a funny reason. In the book they left after sol six, but in the movie they leave after sol 18. Ridley wanted Mark to stir a nice big bucket of shit when he was creating the fertilizer for the crops. Ridley said, after only six days of six people shitting that’s 36 packets. He wanted them to stay longer, so that the bucket of shit could be full.
Reddit comment.
Also Quora (thanks to Gallifreian)
...apparently Ridley Scott changed the abort from Sol 6 to Sol 18, because he didn't think that six people would generate enough solid waste in six days to be believable for Mark's crops.
I imagine they'd have to change all the numbers and figures used in the book.
Apparently, they did...(same Reddit source).
If you've read the book, then you know that there are certain key dates, right? Mission abort on Sol 6, Hab breach on Sol 119, departure for Schiaparelli on Sol 449, rendezvous with Hermes on Sol 549.
But apparently Ridley Scott changed the abort from Sol 6 to Sol 18, because he didn't think that six people would generate enough solid waste in six days to be believable for Mark's crops. That throws off everything, right?
I just realized it doesn't.
The teaser trailer includes a shot of Mark departing the Hab for the last time here; the last date he writes down is Sol 461. The rendezvous takes place on Sol 561.
Essentially: if you add 12 sols to each time-critical event after the abort, they line up perfectly with the timeline in the book, which was determined by Andy Weir's orbital calculations.