Commons Net
  1. Commons Net
  2. NET-339

Incorrect parsing of timestamp on Windows CE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.2
    • Component/s: FTP
    • Labels:
      None
    • Environment:

      Windows

      Description

      Somewhere in the past the timestamp format returned by windows/the windows ftp server changed.

      In the past the timestamp had a format like: '09-21-10 06:00PM'.
      The 'current' format however is: '09-21-10 18:00'.

      In version 1.4 this resulted in no files being displayed because parsing the timestamp fails;
      In version 2 this results in the files being displayed but without the timestamp.

      (This is the result of change 645299)

      The attached patch updates the code so that it detects both the old and the new format of the timestamp.

      A bug that also mentions this, or at least the comments, https://issues.apache.org/jira/browse/NET-50

        Activity

        No work has yet been logged on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development