Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0.1-incubating-core-SNAPSHOT
-
None
Description
1. Create an inputText with an attached dateTimeConverter, and bind its value to a backing bean.
<tr:inputText value="#
{date.date1}" autoSubmit="true"><tr:convertDateTime/>
</tr:inputText>
<tr:outputText value="#{date.date1}
"/>
2. When the page runs, enter a date like "1/1/07" and submit
3. The outputText shows that the date submitted was "1st January 7 AD", not the (more likely expected) 2007 A.D. This is despite the fact that the DateTimeConverter uses 1950 as the default century for interpreting 2 digit years.