With that information we can arrange things so that it gets included in the 7.8.x branch also. Thanks.
My SuiteCRM In-depth blog. Thank you for always stating your SuiteCRM version, checking your logs, reading the Docs, and searching before you ask!
The administrator has disabled public write access.
After upgrade from 7.8.20 to 7.8.23 all activity stream items say "0 seconds ago"
1 month 3 days ago #75557
I upgraded to 7.8.24 first, then merged the fix and it's working well. I moved it into our production -- after some preliminary tests -- with the caveat that the team stop work immediately if they see any side effects on activity timestamps such as creation dates or modified dates. Two days and no issues.
The original 7.8.24 file, SugarFeed.php, is not using "public static" for methods/functions, only "static", but I did make getTimeLapse() "public static" for my patch, and no others. It looks like most methods are declared public static in the 7.10 branch. Also, the $timedate variable is the only global variable now in this file, whereas none existed in the original 7.8.24 release. Here's what we look like now...
public static function getTimeLapse($startDate)