[wp-trac] [WordPress Trac] #9272: Expand human_time_diff()'s abilities

WordPress Trac noreply at wordpress.org
Wed May 22 22:56:33 UTC 2013


#9272: Expand human_time_diff()'s abilities
-------------------------------------------------+-------------------------
 Reporter:  Viper007Bond                         |       Owner:
     Type:  enhancement                          |  Viper007Bond
 Priority:  normal                               |      Status:  new
Component:  Date/Time                            |   Milestone:  3.6
 Severity:  normal                               |     Version:  2.8
 Keywords:  has-patch needs-testing rtl-         |  Resolution:
  feedback westi-likes                           |
-------------------------------------------------+-------------------------
Changes (by nacin):

 * milestone:  Future Release => 3.6


Comment:

 We're now using human_time_diff() in the admin for revisions, which makes
 this a bit more obvious (it was previously only used in fairly hidden
 areas, like $mode = excerpt in some of the list tables).

 I'd like to add weeks, months, years, using the simple approach from
 westi. We can consider a bigger overhaul that includes better i18n in 3.7?

--
Ticket URL: <http://core.trac.wordpress.org/ticket/9272#comment:44>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list