You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Yee-Wah Lee (JIRA)" <de...@myfaces.apache.org> on 2010/09/30 02:26:32 UTC

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

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


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.