1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +02:00

Relative Date format changed from "0 mins" to "Just now". Newsfeed admin area now displays last feed refresh time.

This commit is contained in:
Cameron
2016-05-21 09:45:15 -07:00
parent 94d634462f
commit e0b1d87acc
5 changed files with 45 additions and 9 deletions

View File

@@ -620,6 +620,12 @@ class convert
}
if($format == 'short' && count($outputArray) == 1) { break; }
}
if(empty($outputArray[1]) && ($outputArray[0] == "0 ".$mins))
{
return deftrue('LANDT_10',"Just now");
}
return ($mode ? $outputArray : implode(", ", $outputArray) . " " . LANDT_AGO);
}