You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org> on 2007/12/10 17:07:43 UTC

[jira] Created: (TRINIDAD-859) It would be nice if date-converter was lenient out of the box

It would be nice if date-converter was lenient out of the box
-------------------------------------------------------------

                 Key: TRINIDAD-859
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-859
             Project: MyFaces Trinidad
          Issue Type: Bug
    Affects Versions: 1.2.4-core, 1.0.4-core
            Reporter: Matthias Weßendorf
            Assignee: Matthias Weßendorf
            Priority: Minor


Using the default converter and testing several possible inputs;

The result:

Passes
----------
01/4/2004
01-4-2004
01.4.2004
1/4/2004
1-4-2004
1.4.2004


Fails:
----------
Jan/4/2004
Jan-4-2004
Jan.4.2004
04-jan-2004
4-jan-04
4-jan-2004
04-jan-04
04-JAN-04
04-JAN-2004
4-JAN-04
4-JAN-2004
January 4, 2004
Jan 4, 2004

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


[jira] Resolved: (TRINIDAD-859) It would be nice if date-converter was lenient out of the box

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-859?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Weßendorf resolved TRINIDAD-859.
-----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.5-core
                   1.0.5-core

> It would be nice if date-converter was lenient out of the box
> -------------------------------------------------------------
>
>                 Key: TRINIDAD-859
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-859
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.4-core, 1.2.4-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>            Priority: Minor
>             Fix For: 1.0.5-core, 1.2.5-core
>
>
> Using the default converter and testing several possible inputs;
> The result:
> Passes
> ----------
> 01/4/2004
> 01-4-2004
> 01.4.2004
> 1/4/2004
> 1-4-2004
> 1.4.2004
> Fails:
> ----------
> Jan/4/2004
> Jan-4-2004
> Jan.4.2004
> 04-jan-2004
> 4-jan-04
> 4-jan-2004
> 04-jan-04
> 04-JAN-04
> 04-JAN-2004
> 4-JAN-04
> 4-JAN-2004
> January 4, 2004
> Jan 4, 2004

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


[jira] Commented: (TRINIDAD-859) It would be nice if date-converter was lenient out of the box

Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550114 ] 

Matthias Weßendorf commented on TRINIDAD-859:
---------------------------------------------

we could have an internal list of patterns (for convenience reasons) we try if things fail.

> It would be nice if date-converter was lenient out of the box
> -------------------------------------------------------------
>
>                 Key: TRINIDAD-859
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-859
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.4-core, 1.2.4-core
>            Reporter: Matthias Weßendorf
>            Assignee: Matthias Weßendorf
>            Priority: Minor
>
> Using the default converter and testing several possible inputs;
> The result:
> Passes
> ----------
> 01/4/2004
> 01-4-2004
> 01.4.2004
> 1/4/2004
> 1-4-2004
> 1.4.2004
> Fails:
> ----------
> Jan/4/2004
> Jan-4-2004
> Jan.4.2004
> 04-jan-2004
> 4-jan-04
> 4-jan-2004
> 04-jan-04
> 04-JAN-04
> 04-JAN-2004
> 4-JAN-04
> 4-JAN-2004
> January 4, 2004
> Jan 4, 2004

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