pass on the configured format to the DateValidator instead of hardcoding it

As it turns out, the date format was hardcoded when instantiating the validators, which seems odd and counter-intuitive. This change allows for alternative date formats to be used without the validator failing.