[
https://issues.apache.org/jira/browse/PDFBOX-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055491#comment-13055491
]
Philip Helger commented on PDFBOX-1053:
---------------------------------------
I tried to work around this issue, by adding the SimpleDateFormat
"yyyy-MM-dd'T'HH:mm:ss.SSZ" to the POTENTIAL_FORMATS but this did not result in
the correct parsing, because in that case the NumberFormatException happens at
a very late stage in parsing, and the original value of the "date" parameter is
no longer valid. In that case I suggest not to alter the parameter "date" but
instead work on a local variable for the manual parsing!
> DateConverter fails to handle dates having milliseconds
> -------------------------------------------------------
>
> Key: PDFBOX-1053
> URL: https://issues.apache.org/jira/browse/PDFBOX-1053
> Project: PDFBox
> Issue Type: Bug
> Components: JempBox
> Affects Versions: 1.5.0
> Reporter: Philip Helger
> Fix For: 1.6.0
>
>
> The method DateConverter.toCalendar fails to parse dates that have
> milliseconds. The Adobe SDK can handle them.
> Example date:
> 2010-12-12T12:41:35.00+01:00
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira