incubator-adffaces-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <adffaces-iss...@incubator.apache.org>
Subject [jira] Assigned: (ADFFACES-410) DateTimeConverter does not use 2DigitYearStart() when parsing strings with year less than 4-digit
Date Mon, 26 Mar 2007 18:44:32 GMT

     [ https://issues.apache.org/jira/browse/ADFFACES-410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matthias Weßendorf reassigned ADFFACES-410:
-------------------------------------------

    Assignee: Matthias Weßendorf

> 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: 1.0.1-incubating-core-SNAPSHOT
>            Reporter: Yee-Wah Lee
>         Assigned To: Matthias Weßendorf
>            Priority: Minor
>         Attachments: ADFFaces_410.diff
>
>
> 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.


Mime
View raw message