Browse Source

Merge pull request #4863 from staudenmeir/validation

[5.7] Add date_equals validation message
Taylor Otwell 5 years ago
parent
commit
fcb7d35730
1 changed files with 1 additions and 0 deletions
  1. 1 0
      resources/lang/en/validation.php

+ 1 - 0
resources/lang/en/validation.php

@@ -32,6 +32,7 @@ return [
     'boolean' => 'The :attribute field must be true or false.',
     'confirmed' => 'The :attribute confirmation does not match.',
     'date' => 'The :attribute is not a valid date.',
+    'date_equals' => 'The :attribute must be a date equal to :date.',
     'date_format' => 'The :attribute does not match the format :format.',
     'different' => 'The :attribute and :other must be different.',
     'digits' => 'The :attribute must be :digits digits.',