Automatically add validators for dates