You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sebb (Created) (JIRA)" <ji...@apache.org> on 2012/02/29 01:28:59 UTC

[jira] [Created] (NET-444) FTPTimestampParserImpl fails to parse future dates correctly on Feb 28th in a leap year

FTPTimestampParserImpl fails to parse future dates correctly on Feb 28th in a leap year
---------------------------------------------------------------------------------------

                 Key: NET-444
                 URL: https://issues.apache.org/jira/browse/NET-444
             Project: Commons Net
          Issue Type: Bug
          Components: FTP
    Affects Versions: 3.1
            Reporter: Sebb
            Assignee: Sebb


CI tests reported the following test failure on Feb 28th, 2012 (a leap year):

Failed tests:   testParseTimestampWithSlop(org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest): test.slop.roll.back.year expected:<1> but was:<0>

The cause is to do with how lenient future dates are handled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (NET-444) FTPTimestampParserImpl fails to parse future dates correctly on Feb 28th in a leap year

Posted by "Sebb (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NET-444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sebb resolved NET-444.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.2
         Assignee:     (was: Sebb)
    
> FTPTimestampParserImpl fails to parse future dates correctly on Feb 28th in a leap year
> ---------------------------------------------------------------------------------------
>
>                 Key: NET-444
>                 URL: https://issues.apache.org/jira/browse/NET-444
>             Project: Commons Net
>          Issue Type: Bug
>          Components: FTP
>    Affects Versions: 3.1
>            Reporter: Sebb
>             Fix For: 3.2
>
>
> CI tests reported the following test failure on Feb 28th, 2012 (a leap year):
> Failed tests:   testParseTimestampWithSlop(org.apache.commons.net.ftp.parser.FTPTimestampParserImplTest): test.slop.roll.back.year expected:<1> but was:<0>
> The cause is to do with how lenient future dates are handled.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira