From cd9f4d2d54127c15c34cc2e00a8d42581c45e8bd Mon Sep 17 00:00:00 2001 From: Adam Meehan Date: Thu, 14 Aug 2008 12:32:51 +1000 Subject: [PATCH] added invalid date and time error message options to options list --- README | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README b/README index 36467e8..a8661ec 100644 --- a/README +++ b/README @@ -68,6 +68,8 @@ the valid range of dates or times allowed :unless - Execute validation when :unless evaluates false Message options: - Use these to override the default error messages + :invalid_date_message + :invalid_time_message :invalid_datetime_message :before_message :on_or_before_message @@ -178,7 +180,7 @@ All other characters are considered literal. For the technically minded at runtime so don't add any extra overhead than using regular expressions directly. So, no, it won't make your app slow! -To see all defined formats look in the lib/validates_timeliness/formats.rb. +To see all defined formats look in lib/validates_timeliness/formats.rb. === US/EURO FORMATS