Browse Source

Add date validation messages

Alex Whitman 11 years ago
parent
commit
caa65bbef6
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/lang/en/validation.php

+ 2 - 0
app/lang/en/validation.php

@@ -26,6 +26,8 @@ return array(
 		"string"  => "The :attribute must be between :min - :max characters.",
 	),
 	"confirmed"       => "The :attribute confirmation does not match.",
+	"date"            => "The :attribute is not a valid 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.",
 	"digits_between"  => "The :attribute must be between :min and :max digits.",