You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Manju (JIRA)" <ji...@apache.org> on 2010/05/11 12:42:41 UTC

[jira] Created: (VFS-308) getLastModifiedTime() returns 0 in the case of Danish Locale

getLastModifiedTime() returns 0 in the case of Danish Locale
------------------------------------------------------------

                 Key: VFS-308
                 URL: https://issues.apache.org/jira/browse/VFS-308
             Project: Commons VFS
          Issue Type: Bug
            Reporter: Manju




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


[jira] Updated: (VFS-308) getLastModifiedTime() returns 0 in the case of Danish Locale

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

Manju updated VFS-308:
----------------------

    Environment: 
OS:Solaris
Locale:Danish
Common-VFS-patch 3
    Description: 
When we try to create a file and access its lastModifiedTime for US locale returns correct long value.
But in the case of Danish Locale it returns always "0" for the month of May.
       Priority: Minor  (was: Major)
         Labels: Danish Locale  (was: )

> getLastModifiedTime() returns 0 in the case of Danish Locale
> ------------------------------------------------------------
>
>                 Key: VFS-308
>                 URL: https://issues.apache.org/jira/browse/VFS-308
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: OS:Solaris
> Locale:Danish
> Common-VFS-patch 3
>            Reporter: Manju
>            Priority: Minor
>
> When we try to create a file and access its lastModifiedTime for US locale returns correct long value.
> But in the case of Danish Locale it returns always "0" for the month of May.

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


[jira] Commented: (VFS-308) getLastModifiedTime() returns 0 in the case of Danish Locale

Posted by "Ralph Goers (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12866189#action_12866189 ] 

Ralph Goers commented on VFS-308:
---------------------------------

Please provide a test case to reproduce the problem or a patch if you have one.

> getLastModifiedTime() returns 0 in the case of Danish Locale
> ------------------------------------------------------------
>
>                 Key: VFS-308
>                 URL: https://issues.apache.org/jira/browse/VFS-308
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: OS:Solaris
> Locale:Danish
> Common-VFS-patch 3
>            Reporter: Manju
>            Priority: Minor
>
> When we try to create a file and access its lastModifiedTime for US locale returns correct long value.
> But in the case of Danish Locale it returns always "0" for the month of May.

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


[jira] Commented: (VFS-308) getLastModifiedTime() returns 0 in the case of Danish Locale

Posted by "Manju (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/VFS-308?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12868176#action_12868176 ] 

Manju commented on VFS-308:
---------------------------

We use
TZ=Turkey
CMASK=022
LC_COLLATE=da_DK.ISO8859-1
LC_CTYPE=da_DK.ISO8859-1
LC_MESSAGES=C
LC_MONETARY=da_DK.ISO8859-1
LC_NUMERIC=da_DK.ISO8859-1
LC_TIME=da_DK.ISO8859-1


> getLastModifiedTime() returns 0 in the case of Danish Locale
> ------------------------------------------------------------
>
>                 Key: VFS-308
>                 URL: https://issues.apache.org/jira/browse/VFS-308
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: OS:Solaris
> Locale:Danish
> Common-VFS-patch 3
>            Reporter: Manju
>            Priority: Minor
>
> When we try to create a file and access its lastModifiedTime for US locale returns correct long value.
> But in the case of Danish Locale it returns always "0" for the month of May.

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


[jira] Updated: (VFS-308) getLastModifiedTime() returns 0 in the case of Danish Locale

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

Manju updated VFS-308:
----------------------

    Attachment: VfsTest.java

We implemented VFS as attached form .
Testcase to reproduce :

1.Use Us locale and create a file now use lastModifiedtime to get its long value.
2.Now change the locale to given one and reboot it 
3.Now create a new file in May month and check its last Modified time.
It will return 0.

> getLastModifiedTime() returns 0 in the case of Danish Locale
> ------------------------------------------------------------
>
>                 Key: VFS-308
>                 URL: https://issues.apache.org/jira/browse/VFS-308
>             Project: Commons VFS
>          Issue Type: Bug
>         Environment: OS:Solaris
> Locale:Danish
> Common-VFS-patch 3
>            Reporter: Manju
>            Priority: Minor
>         Attachments: VfsTest.java
>
>
> When we try to create a file and access its lastModifiedTime for US locale returns correct long value.
> But in the case of Danish Locale it returns always "0" for the month of May.

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