[buddypress-trac] [BuddyPress] #3056: Rewrite bp_core_time_since() to use WP's human_time_diff()
buddypress-trac
noreply at wordpress.org
Fri May 24 05:09:38 UTC 2013
#3056: Rewrite bp_core_time_since() to use WP's human_time_diff()
--------------------------+-----------------------------
Reporter: r-a-y | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Core | Version: 1.5
Severity: normal | Resolution:
Keywords: dev-feedback |
--------------------------+-----------------------------
Comment (by SergeyBiryukov):
Looks like even if #WP9272 adds weeks, months, and years to
`human_time_diff()`, the output would still be different.
`bp_core_time_since()` returns two chunks: "1 month, 1 week ago".
`human_time_diff()` only returns one chunk.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3056#comment:5>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list