Author: musachy Date: Mon Feb 26 20:12:59 2007 New Revision: 512130 URL: http://svn.apache.org/viewvc?view=rev&rev=512130 Log: WW-1771 Update DateTimePicker tag documentation. Sytax from: http://www.unicode.org/reports/tr35/tr35-4.html#Date_Format_Patterns
Modified: struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java Modified: struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java URL: http://svn.apache.org/viewvc/struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java?view=diff&rev=512130&r1=512129&r2=512130 ============================================================================== --- struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java (original) +++ struts/struts2/branches/STRUTS_2_0_X/core/src/main/java/org/apache/struts2/components/DateTimePicker.java Mon Feb 26 20:12:59 2007 @@ -43,7 +43,6 @@ * A stand-alone DateTimePicker widget that makes it easy to select a date/time, or increment by week, month, * and/or year. * </p> - * Dates attributes passed in the `RFC 3339` format: * * <p> * It is possible to customize the user-visible formatting with either the @@ -51,7 +50,7 @@ * locale will be used.</p> * </p> * - * 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):- * <table border="1"> * <tr> * <td>Format</td> @@ -90,8 +89,7 @@ * <p> * 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. * </p> * * <p/> @@ -106,7 +104,7 @@ * 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" /> * * <!-- END SNIPPET: expl1 --> * </pre>