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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user