I'm running a Buddypress site and can't help but to notice the very specific time stamps on activity posts. For example, it will show "5 minutes ago" from the time the activity was posted, which is fine. But as the time increases, it gets longer. For example, 16 hours and 5 minutes ago. And furthermore, 1 day and 15 hours ago and then 1 week and 2 days ago... How can I change it so that it only rounds to the nearest minute, hour, day, week, etc?
5 seconds have passed = 5 seconds ago
5 minutes have passed = 5 minutes ago
5 hours have passed = 5 hours ago
5 days have passed = 5 days ago
1 week has passed = 1 week ago
1 month has passed = 1 month ago
1 year has passed = 1 year ago
Would love any help! Thanks in advance.