[wp-trac] [WordPress Trac] #9272: Expand human_time_diff()'s abilities
WordPress Trac
wp-trac at lists.automattic.com
Mon Apr 16 15:30:43 UTC 2012
#9272: Expand human_time_diff()'s abilities
-------------------------------------------------+-------------------------
Reporter: Viper007Bond | Owner:
Type: enhancement | Viper007Bond
Priority: normal | Status: new
Component: Date/Time | Milestone: Future
Severity: normal | Release
Keywords: has-patch needs-testing rtl- | Version: 2.8
feedback | Resolution:
-------------------------------------------------+-------------------------
Changes (by l3rady):
* cc: scott@… (added)
Comment:
Would love to see a new human_time_diff added to core. I went about
writing my own function based of the original which you can find here:
http://pastebin.com/7zffa3Wn
I wish I had looked here first before writing this. Anyway take a look at
my simple approach that is working for me, maybe you can use some of it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9272#comment:38>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list