[
https://issues.apache.org/jira/browse/NET-564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved NET-564.
----------------------
Resolution: Fixed
Fix Version/s: 3.4
URL: http://svn.apache.org/r1644380
Log:
NET-564 FTPFile.toFormattedString - allow specification of TimeZone for display
Modified:
commons/proper/net/trunk/src/changes/changes.xml
commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPFile.java
> FTPFile.toFormattedString - allow specification of TimeZone for display
> -----------------------------------------------------------------------
>
> Key: NET-564
> URL: https://issues.apache.org/jira/browse/NET-564
> Project: Commons Net
> Issue Type: Improvement
> Reporter: Sebb
> Fix For: 3.4
>
>
> FTPFile#toFormattedString currently uses the Timezone of the Calendar entry.
> This will be either the local timezone, or the server timezone if that was
> specified to FTPClient before parsing the listing.
> However, it may be useful to display the output in a different timezone, for
> example "GMT" or the local timezone if that is not the same as the server
> timezone.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)