linagkar created this revision. linagkar added a project: Frameworks. linagkar requested review of this revision.
REVISION SUMMARY Previously, the code checked for years by checking for length 4. However this resulted in dates with single digit hours, e.g. 9:37, being interpreted as years. Thus, it would parse the hour as a year, in this case making it year 9. Now it instead checks for years by checking whether there's a colon. REPOSITORY R241 KIO REVISION DETAIL https://phabricator.kde.org/D25966 AFFECTED FILES src/ioslaves/ftp/ftp.cpp To: linagkar Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns