diff --git a/mozilla/netwerk/streamconv/converters/nsFTPDirListingConv.cpp b/mozilla/netwerk/streamconv/converters/nsFTPDirListingConv.cpp index 5556eb0bf0c..d160690edf2 100644 --- a/mozilla/netwerk/streamconv/converters/nsFTPDirListingConv.cpp +++ b/mozilla/netwerk/streamconv/converters/nsFTPDirListingConv.cpp @@ -602,7 +602,7 @@ nsFTPDirListingConv::ConvertUNIXDate(char *aCStr, PRExplodedTime& outDate) { && nowETime.tm_mday > curTime.tm_mday) { thisCalendarYear = PR_TRUE; } else if (nowETime.tm_month == curTime.tm_month - && nowETime.tm_mday == curTime.tm_mday) + && nowETime.tm_mday == curTime.tm_mday && nowETime.tm_hour > curTime.tm_hour) { thisCalendarYear = PR_TRUE; } else if (nowETime.tm_month == curTime.tm_month