alphagov/smart-answers — pull request #95 by steventux (2012-11-05 16:40:39+00:00)
Title: Verify that all date inputs are present before parsing

The omission of the year input on date questions produces some odd behaviour when parsing dates.
e.g. Date.parse('-10-04') parses as 2012/11/10.
Added a check to ensure all 3 date fragments are present.