(name (ange-ftp-parse-filename))
(mtime
(let ((moment (parse-time-string (match-string 6))))
- (if (nth 0 moment)
- (setcar (nthcdr 5 moment)
- (decoded-time-year (decode-time)))
- (setcar (nthcdr 0 moment) 0)
- (setcar (nthcdr 1 moment) 0)
- (setcar (nthcdr 2 moment) 0))
+ (if (decoded-time-second moment)
+ (setf (decoded-time-year moment)
+ (decoded-time-year (decode-time)))
+ (setf (decoded-time-second moment) 0)
+ (setf (decoded-time-minute moment) 0)
+ (setf (decoded-time-hour moment) 0))
(encode-time moment)))
symlink)
(if (string-match "\\(.+\\) -> \\(.+\\)" name)