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

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 18 22:59:04 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:
-------------------------------------------------+-------------------------

Comment (by nacin):

 Just leaving a note here: From an i18n perspective, "X ago" and "X old"
 will require two different translations for X in a number of languages.

 Perhaps we can start by making human_time_diff() operate on more than just
 "days" -- expanding to weeks, and months, years perhaps.

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


More information about the wp-trac mailing list