You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gabrielle Crawford (JIRA)" <de...@myfaces.apache.org> on 2010/11/11 02:20:14 UTC

[jira] Resolved: (TRINIDAD-1931) Date-Time converter does not use 2DigitYearStart for parsing

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

Gabrielle Crawford resolved TRINIDAD-1931.
------------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0.4-core 

> Date-Time converter does not use 2DigitYearStart for parsing
> ------------------------------------------------------------
>
>                 Key: TRINIDAD-1931
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1931
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.13-core 
>            Reporter: Yee-Wah Lee
>             Fix For: 2.0.0.4-core 
>
>         Attachments: trunk_1931.diff
>
>
> According to the doc:
> http://myfaces.apache.org/trinidad/devguide/configuration.html#trinidad-config.xml
> The <two-digit-year-start> element defines the  year offset that should be used for parsing years with only two digits. If it is not set, it is defaulted to year 1950. This value is  used by org.apache.myfaces.trinidad.converter.DateTimeConverter while converting strings to Date. This property may also be explicitly configured with an EL expression that returns  Integer object if needed or can be directly harcoded to a integer value. 
> This is not apparently used by the DateTimeConverter in parsing, probably a regression from TRINIDAD-208.

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