https://bugs.kde.org/show_bug.cgi?id=354597

Wolfgang Bauer <wba...@tmo.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
   Version Fixed In|                            |5.19.0
      Latest Commit|                            |http://commits.kde.org/kio/
                   |                            |68af1d7e89b7fed136d4cc62b76
                   |                            |c1c6ded2d94eb

--- Comment #9 from Wolfgang Bauer <wba...@tmo.at> ---
Git commit 68af1d7e89b7fed136d4cc62b76c1c6ded2d94eb by Wolfgang Bauer.
Committed on 07/01/2016 at 12:38.
Pushed by wbauer into branch 'master'.

[kio_ftp] fix display of file/directory modification time/date

- QDate() treats the year literally (i.e. 90 is really year 90, not
  1990), so subtracting 1900 is wrong.
- Use QDate::currentDate() instead of QDateTime::currentDateTime(), we
  only need the current date anyway
- Initialize day, month, and year to the current date instead of 0. In
  the case when no year is mentioned in the server's reply (the year is
implicit), it wasn't set to the current year at all, so the result was
either 0 or -1.
FIXED-IN: 5.19.0
REVIEW: 126659

M  +8    -10   src/ioslaves/ftp/ftp.cpp

http://commits.kde.org/kio/68af1d7e89b7fed136d4cc62b76c1c6ded2d94eb

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to