myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-859) It would be nice if date-converter was lenient out of the box
Date Mon, 10 Dec 2007 16:09:42 GMT

    [ 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.


Mime
View raw message