Commons Net
  1. Commons Net
  2. NET-444

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.2
    • Component/s: FTP
    • Labels:
      None

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Sebb
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development