You’ll need to modify the post metadata display in your child theme.
Take a look at the function: bp_core_time_since()
It’s defined in bp-core.php
It uses a technique described in http://1976design.com
@Roger Coathup
hi,
found information below, but still can not achieve any result. Maybe you could write necessary php code for me?
thank you!!
bp_core_time_since( $older_date, $newer_date = false ) X-Ref
bp_core_time_since()
Based on function created by Dunstan Orchard – http://1976design.com
This function will return an English representation of the time elapsed
since a given date.
eg: 2 hours and 50 minutes
eg: 4 days
eg: 4 weeks and 6 days
param: $older_date int Unix timestamp of date you want to calculate the time since for
param: $newer_date int Unix timestamp of date to compare older date to. Default false (current time).
return: str The time since.
@janismo – if you want a developer to help write the code for your site, you can advertise the opportunity on the Jobs Board: https://buddypress.org/community/groups/bp-jobs-board/
You can also search the BuddyPress plugin files for examples of how to call bp_core_time_since()