From fdcfcb8c15d30692f064cb6054c5e16c1d5fb027 Mon Sep 17 00:00:00 2001 From: Musachy Barroso Date: Tue, 27 Feb 2007 04:12:59 +0000 Subject: [PATCH] WW-1771 Update DateTimePicker tag documentation. Sytax from: http://www.unicode.org/reports/tr35/tr35-4.html#Date_Format_Patterns git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/branches/STRUTS_2_0_X@512130 13f79535-47bb-0310-9956-ffa450edef68 --- .../org/apache/struts2/components/DateTimePicker.java | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/core/src/main/java/org/apache/struts2/components/DateTimePicker.java b/core/src/main/java/org/apache/struts2/components/DateTimePicker.java index aa3e3e9a3..64f6b26e8 100644 --- a/core/src/main/java/org/apache/struts2/components/DateTimePicker.java +++ b/core/src/main/java/org/apache/struts2/components/DateTimePicker.java @@ -43,7 +43,6 @@ import com.opensymphony.xwork2.util.ValueStack; * A stand-alone DateTimePicker widget that makes it easy to select a date/time, or increment by week, month, * and/or year. *

- * Dates attributes passed in the `RFC 3339` format: * *

* It is possible to customize the user-visible formatting with either the @@ -51,7 +50,7 @@ import com.opensymphony.xwork2.util.ValueStack; * locale will be used.

*

* - * Syntax supported by 'displayFormat' aree (http://www.unicode.org/reports/tr35/tr35-4.html#Date_Format_Patterns):- + * Syntax supported by 'displayFormat' is (http://www.unicode.org/reports/tr35/tr35-4.html#Date_Format_Patterns):- * * * @@ -90,8 +89,7 @@ import com.opensymphony.xwork2.util.ValueStack; *

* The value sent to the server is * typically a locale-independent value in a hidden field as defined by the name - * attribute. RFC3339 representation is used by default, but other options are - * available with saveFormat + * attribute. RFC3339 representation is the format used. *

* *

@@ -106,7 +104,7 @@ import com.opensymphony.xwork2.util.ValueStack; * Example 1: * <s:datetimepicker name="order.date" label="Order Date" /> * Example 2: - * <s:datetimepicker name="delivery.date" label="Delivery Date" format="#yyyy-#MM-#dd" /> + * <s:datetimepicker name="delivery.date" label="Delivery Date" format="yyyy-MM-dd" /> * * *

Format