Added date validator for history view's form.