Your best friend for file transfer.

Fetch application logoFetch

Error in date display (3 posts)

This is an archived topic. The information in it is likely to be out-of-date and no longer applicable to current versions of Fetch.
  • Started 17 years ago by face
  • Latest reply 17 years ago from Jim Matthews
  • face Member

    Connected to a server that displays dates in Unix format. Files that were created 25-Jan-2000 appear as if they were created as 25-Jan-2001. Looks like a Y2Kug. The server is VMS, and when in native mode the dates look correct.

    The transcript window shows

    -rwxr-xr-x 1 therune spring 76717 Jan 25 09:21 patch98.jpg

    with the file window showing the date as 01/25/01

    8)

    Posted 17 years ago #

  • face Member

    oh, yes, this happens in 3.0.3 and in beta 4

    Posted 17 years ago #

  • Jim Matthews Administrator

    Thanks for posting the line from the file listing; that makes it easier to know what's going on.

    The server lists the date as "Jan 25", and leaves it up to Fetch to figure out the year. The standard on Unix (and this server appears to be imitating the Unix file listing format) is that if the year is omitted, it was in the last six months. Now January 25 is not in the last six months, so Fetch figures that maybe your Mac's clock is off, and the server is talking about the next January 25.

    So it's a combination of a server bug and some Fetch guessing gone wrong. It should only affect files modified between 11 and 12 months ago. I will think about tightening Fetch's logic, since people have gotten better about keeping their clocks accurate since I wrote that code.

    Thanks for the feedback!

    Jim Matthews
    Fetch Softworks

    Posted 17 years ago #

Topic closed

This topic has been closed.