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

Claus Ibsen updated CAMEL-11620:
--------------------------------
    Fix Version/s: 2.19.3
                   2.20.0
                   2.18.5

> Requiredement for date string to be longer than pattern is invalid.
> -------------------------------------------------------------------
>
>                 Key: CAMEL-11620
>                 URL: https://issues.apache.org/jira/browse/CAMEL-11620
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-bindy
>    Affects Versions: 2.18.3, 2.19.1
>            Reporter: Peter Carpenter
>             Fix For: 2.18.5, 2.20.0, 2.19.3
>
>
> Came across a bug attempting to parse date fields into a LocalDate using 
> bindy.
> LocalDateTimeFormatFactory.parse(String string) calls 
> "doesStringFitLengthOfPattern(string) which does a string length comparison 
> between the date and the pattern.
> This fails if the pattern includes "X" for timezone and the date string 
> includes "+10:00".  Obviously 5 characters is more than 1 character and 
> therefore this date is rejected incorrectly.
> This check should be removed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to