commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pappu Prasad (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (NET-559) mismatch between timestamp and timezone
Date Sun, 30 Nov 2014 13:00:13 GMT

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

Pappu Prasad updated NET-559:
-----------------------------
    Description: 
Using FTPClient.java, FTPFile.java,FTPListParseEngine.java  from commons-net-3.2.jar  to access
the files on the ftp server(Linux machine) located in EET timezone. After accessing the files
if  I try to see the time zone and time stamp of the file,timestamp is shown in UTC format
but timezone is shown as timezone of the place where file is being accessed .

Expected was that both should have been in EET format.

Example:
Suppose a file sample.txt on FTP server (in EET zone) has timestamp as 11/27/2014 8:28:20
AM.


While accessing the file(in EET time zone) using jar mentioned above ,FTPFile.java's getTimestamp
method will return time as   11/27/2014 6:28:20 AM EET.

Instead it should have been 11/27/2014 8:28:20 AM EET.

Thanks.

  was:
Using FTPClient.java, FTPFile.java,FTPListParseEngine.java  from commons-net-3.2.jar  to access
the files on the ftp server(Linux machine) located in EET timezone. After accessing the files
if  I try to see the time zone and time stamp of the file,timestamp is shown in UTC format
but timezone is shown as timezone of the place where file is being accessed .

Expected was that both should have been in EET format.

Example:
Suppose a file sample.txt on FTP server (in EET zone) has timestamp as 11/27/2014 6:28:20
AM.


While accessing the file(in EET time zone) using jar mentioned above ,FTPFile.java's getTimestamp
method will return time as   11/27/2014 6:28:20 AM EET.

Instead it should have been 11/27/2014 8:28:20 AM EET.

Thanks.


> mismatch between timestamp and timezone
> ---------------------------------------
>
>                 Key: NET-559
>                 URL: https://issues.apache.org/jira/browse/NET-559
>             Project: Commons Net
>          Issue Type: Bug
>            Reporter: Pappu Prasad
>
> Using FTPClient.java, FTPFile.java,FTPListParseEngine.java  from commons-net-3.2.jar
 to access the files on the ftp server(Linux machine) located in EET timezone. After accessing
the files if  I try to see the time zone and time stamp of the file,timestamp is shown in
UTC format but timezone is shown as timezone of the place where file is being accessed .
> Expected was that both should have been in EET format.
> Example:
> Suppose a file sample.txt on FTP server (in EET zone) has timestamp as 11/27/2014 8:28:20
AM.
> While accessing the file(in EET time zone) using jar mentioned above ,FTPFile.java's
getTimestamp method will return time as   11/27/2014 6:28:20 AM EET.
> Instead it should have been 11/27/2014 8:28:20 AM EET.
> Thanks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message