From 987e14bcca7199637a1de9d14c56baf52b249593 Mon Sep 17 00:00:00 2001 From: Scott Andrews Date: Fri, 31 Oct 2008 20:27:22 +0000 Subject: [PATCH] error message should show correct date format --- .../main/webapp/WEB-INF/hotels/booking/messages.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/booking/messages.properties b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/booking/messages.properties index dfb02c26..1859927a 100644 --- a/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/booking/messages.properties +++ b/spring-webflow-samples/booking-mvc/src/main/webapp/WEB-INF/hotels/booking/messages.properties @@ -1,9 +1,9 @@ booking.checkinDate.required=The check in date is required -booking.checkinDate.typeMismatch=The check in date must be in the format dd/mm/yy +booking.checkinDate.typeMismatch=The check in date must be in the format mm-dd-yyyy booking.checkinDate.beforeToday=The check in date must be a future date booking.checkoutDate.required=The check out date is required -booking.checkoutDate.typeMismatch=The check out date must be in the format dd/mm/yy +booking.checkoutDate.typeMismatch=The check out date must be in the format mm-dd-yyyy booking.checkoutDate.beforeCheckinDate=The check out date must be later than the check in date booking.creditCard.required=The credit card must be a valid 16 digit number