DateTimeConverter does not use 2DigitYearStart() when parsing strings with year 
less than 4-digit
-------------------------------------------------------------------------------------------------

                 Key: ADFFACES-410
                 URL: https://issues.apache.org/jira/browse/ADFFACES-410
             Project: MyFaces ADF-Faces
          Issue Type: Bug
          Components: Components
    Affects Versions: 2.0.0-incubating-core-SNAPSHOT
            Reporter: Yee-Wah Lee
            Priority: Minor
             Fix For: 2.0.0-incubating-core-SNAPSHOT


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. 


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to