[prev in list] [next in list] [prev in thread] [next in thread]
List: jakarta-commons-dev
Subject: [jira] [Created] (NET-559) mismatch between timestamp and timezone
From: "Pappu Prasad (JIRA)" <jira () apache ! org>
Date: 2014-11-30 12:49:12
Message-ID: JIRA.12758494.1417351716000.43484.1417351752302 () Atlassian ! JIRA
[Download RAW message or body]
Pappu Prasad created NET-559:
--------------------------------
Summary: 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 \
11:58: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)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic