Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 113EAC8FF for ; Wed, 10 Dec 2014 11:21:14 +0000 (UTC) Received: (qmail 82377 invoked by uid 500); 10 Dec 2014 11:21:12 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 82280 invoked by uid 500); 10 Dec 2014 11:21:12 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 82268 invoked by uid 99); 10 Dec 2014 11:21:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Dec 2014 11:21:12 +0000 Date: Wed, 10 Dec 2014 11:21:12 +0000 (UTC) From: "Sebb (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (NET-562) FTPFile.toFormattedString should print only signficant parts of the parsed date MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/NET-562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14240963#comment-14240963 ] Sebb commented on NET-562: -------------------------- URL: http://svn.apache.org/r1644375 Log: NET-562 FTPFile.toFormattedString should print only signficant parts of the parsed date Part 1: detect which parts are present TODO: set Calendar to indicate which parts are significant 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 should print only signficant parts of the parsed date > ------------------------------------------------------------------------------- > > Key: NET-562 > URL: https://issues.apache.org/jira/browse/NET-562 > Project: Commons Net > Issue Type: Improvement > Reporter: Sebb > > It would be useful if FTPFile.toFormattedString printed the signficant parts of the parsed date. > i.e. if the returned date includes seconds and milliseconds, these should be included, otherwise they should not be shown. Etc. -- This message was sent by Atlassian JIRA (v6.3.4#6332)