You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Johannes Koch (JIRA)" <ji...@apache.org> on 2010/04/30 11:18:54 UTC

[jira] Created: (PDFBOX-715) TestDateUtil fails

TestDateUtil fails
------------------

                 Key: PDFBOX-715
                 URL: https://issues.apache.org/jira/browse/PDFBOX-715
             Project: PDFBox
          Issue Type: Bug
          Components: Utilities
            Reporter: Johannes Koch


TestDateUtil fails because of Locale and TimeZone issues. I'll send a patch later.

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


[jira] Commented: (PDFBOX-715) TestDateUtil fails

Posted by "Johannes Koch (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PDFBOX-715?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862604#action_12862604 ] 

Johannes Koch commented on PDFBOX-715:
--------------------------------------

Can someone more familiar with the date conversion please have a look at the patch?

> TestDateUtil fails
> ------------------
>
>                 Key: PDFBOX-715
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-715
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>            Reporter: Johannes Koch
>         Attachments: PDFBOX-715_patch.txt
>
>
> TestDateUtil fails because of Locale and TimeZone issues. I'll send a patch later.

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


[jira] Resolved: (PDFBOX-715) TestDateUtil fails

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

Johannes Koch resolved PDFBOX-715.
----------------------------------

    Resolution: Fixed

Fixed with r940392.

> TestDateUtil fails
> ------------------
>
>                 Key: PDFBOX-715
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-715
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>            Reporter: Johannes Koch
>         Attachments: PDFBOX-715_patch.txt, PDFBOX-715_patch_01.txt
>
>
> TestDateUtil fails because of Locale and TimeZone issues. I'll send a patch later.

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


[jira] Updated: (PDFBOX-715) TestDateUtil fails

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

Johannes Koch updated PDFBOX-715:
---------------------------------

    Attachment: PDFBOX-715_patch_01.txt

The setting of timezone in DateConverter is not necessary, as it seems. So the *patch_01.txt only adds Locale.ENGLISH to the SimpleDateFormats in DateConverter.

> TestDateUtil fails
> ------------------
>
>                 Key: PDFBOX-715
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-715
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>            Reporter: Johannes Koch
>         Attachments: PDFBOX-715_patch.txt, PDFBOX-715_patch_01.txt
>
>
> TestDateUtil fails because of Locale and TimeZone issues. I'll send a patch later.

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


[jira] Updated: (PDFBOX-715) TestDateUtil fails

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

Johannes Koch updated PDFBOX-715:
---------------------------------

    Attachment: PDFBOX-715_patch.txt

DateConvertor: I added Locale.ENGLISH to every SimpleDateFormat that has a locale-dependent pattern (MM, EEEE, etc.). I also added UTC timezone to every SimpleDateFormat.

TestDateUtil: I added the setting and resetting of the timezone also to the testExtract() method.

> TestDateUtil fails
> ------------------
>
>                 Key: PDFBOX-715
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-715
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Utilities
>            Reporter: Johannes Koch
>         Attachments: PDFBOX-715_patch.txt
>
>
> TestDateUtil fails because of Locale and TimeZone issues. I'll send a patch later.

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