You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Philip Helger (JIRA)" <ji...@apache.org> on 2011/06/27 14:12:47 UTC

[jira] [Created] (PDFBOX-1054) DateConverter: allow for external adding of potential date parsing formats

DateConverter: allow for external adding of potential date parsing formats
--------------------------------------------------------------------------

                 Key: PDFBOX-1054
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1054
             Project: PDFBox
          Issue Type: New Feature
          Components: JempBox
    Affects Versions: 1.5.0
            Reporter: Philip Helger
             Fix For: 1.6.0


Please create a method "addPotentialDateFormat" in class DateConverter so that new date formats can be added from the outside without modifying the JemBox sources themselves.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1054) DateConverter: allow for external adding of potential date parsing formats

Posted by "Philip Helger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philip Helger updated PDFBOX-1054:
----------------------------------

    Attachment: DateConverter.java

The new DateConverter class, having a date format for milliseconds (PDFBOX-1053) as well as a customizable set of date formats. Please format to your liking.

> DateConverter: allow for external adding of potential date parsing formats
> --------------------------------------------------------------------------
>
>                 Key: PDFBOX-1054
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1054
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: JempBox
>    Affects Versions: 1.5.0
>            Reporter: Philip Helger
>         Attachments: DateConverter.java
>
>
> Please create a method "addPotentialDateFormat" in class DateConverter so that new date formats can be added from the outside without modifying the JemBox sources themselves.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1054) DateConverter: allow for external adding of potential date parsing formats

Posted by "Guillaume Bailleul (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Bailleul updated PDFBOX-1054:
---------------------------------------

    Attachment: jemp_date_converter.patch

sha1sum :
14cec2b3b8a81f7b90c7d033f2d501bd005fcd3a  jemp_date_converter.patch

The class did not change since creation of this issue, so I generated the patch.
All looks ok for me.
                
> DateConverter: allow for external adding of potential date parsing formats
> --------------------------------------------------------------------------
>
>                 Key: PDFBOX-1054
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1054
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: JempBox
>    Affects Versions: 1.5.0
>            Reporter: Philip Helger
>         Attachments: DateConverter.java, jemp_date_converter.patch
>
>
> Please create a method "addPotentialDateFormat" in class DateConverter so that new date formats can be added from the outside without modifying the JemBox sources themselves.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PDFBOX-1054) DateConverter: allow for external adding of potential date parsing formats

Posted by "Andreas Lehmkühler (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PDFBOX-1054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler updated PDFBOX-1054:
---------------------------------------

    Fix Version/s:     (was: 1.6.0)

Please provide a patch as diff so that it'll be easier to apply it to the codebase.

> DateConverter: allow for external adding of potential date parsing formats
> --------------------------------------------------------------------------
>
>                 Key: PDFBOX-1054
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1054
>             Project: PDFBox
>          Issue Type: New Feature
>          Components: JempBox
>    Affects Versions: 1.5.0
>            Reporter: Philip Helger
>
> Please create a method "addPotentialDateFormat" in class DateConverter so that new date formats can be added from the outside without modifying the JemBox sources themselves.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira