You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Big Jim <bi...@speakeasy.net> on 2010/07/22 17:33:56 UTC

OS400FTPEntryParser Fix

I have discovered a bug in 
org.apache.commons.net.ftp.parser.OS400FTPEntryParser.java.  The 
variable "private static final String DEFAULT_DATE_FORMAT" needs to be 
changed from "yy/MM/dd HH:mm:ss"; //01/11/09 12:30:24 to "MM/dd/yy 
HH:mm:ss"; //01/15/08 14:21:38 to work correctly.  I have tested this on 
our companies AS400 and it solved a problem we were having.  I am not an 
Apache developer and have no idea how to get this simple change into the 
code base.  Can someone please make this fix?

Thanks,
Jim Urban


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Re: OS400FTPEntryParser Fix

Posted by sebb <se...@gmail.com>.
On 22 July 2010 16:33, Big Jim <bi...@speakeasy.net> wrote:
> I have discovered a bug in
> org.apache.commons.net.ftp.parser.OS400FTPEntryParser.java.  The variable
> "private static final String DEFAULT_DATE_FORMAT" needs to be changed from
> "yy/MM/dd HH:mm:ss"; //01/11/09 12:30:24 to "MM/dd/yy HH:mm:ss"; //01/15/08
> 14:21:38 to work correctly.  I have tested this on our companies AS400 and
> it solved a problem we were having.  I am not an Apache developer and have
> no idea how to get this simple change into the code base.  Can someone
> please make this fix?

Please file a JIRA issue - e-mail reports are much harder to track.

> Thanks,
> Jim Urban
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


RE: OS400FTPEntryParser Fix

Posted by Gary Gregory <GG...@seagullsoftware.com>.
Or we should turn it into an ivar that can be set...

Gary Gregory
Senior Software Engineer
Seagull Software
email: ggregory@seagullsoftware.com
email: ggregory@apache.org
www.seagullsoftware.com 



> -----Original Message-----
> From: Big Jim [mailto:bigjim@speakeasy.net]
> Sent: Thursday, July 22, 2010 08:34
> To: dev@commons.apache.org
> Subject: OS400FTPEntryParser Fix
> 
> I have discovered a bug in
> org.apache.commons.net.ftp.parser.OS400FTPEntryParser.java.  The
> variable "private static final String DEFAULT_DATE_FORMAT" needs to be
> changed from "yy/MM/dd HH:mm:ss"; //01/11/09 12:30:24 to "MM/dd/yy
> HH:mm:ss"; //01/15/08 14:21:38 to work correctly.  I have tested this on
> our companies AS400 and it solved a problem we were having.  I am not an
> Apache developer and have no idea how to get this simple change into the
> code base.  Can someone please make this fix?
> 
> Thanks,
> Jim Urban
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org