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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)
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

       
Reply | Threaded
Open this post in threaded view
|

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

ASF GitHub Bot (Jira)

     [ 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