Opened 14 years ago
Closed 11 years ago
#3056 closed enhancement (wontfix)
Rewrite bp_core_time_since() to use WP's human_time_diff()
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.5 |
Component: | Core | Keywords: | |
Cc: |
Description
No need to reinvent the wheel!
http://codex.wordpress.org/Function_Reference/human_time_diff
Thought I'd list it down as an enhancement. Also no time for a patch at the moment as it's 3am here! ;)
Change History (6)
#3
@
14 years ago
You're right about human_time_diff() not including months and years!
WP cross-reference ticket: #WP9272.
Note: See
TracTickets for help on using
tickets.
Whilst this would be easy to do, a consequence is instead of getting text like "1 month, 1 week ago", it'd be "39 days ago." I prefer the former (O/T but maybe it could go upstream as a WordPress enhancement).