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

WordPress Trac noreply at wordpress.org
Mon Nov 19 21:12:14 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 westi-likes                           |  Resolution:
-------------------------------------------------+-------------------------

Comment (by Viper007Bond):

 Replying to [comment:39 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.

 Just noting that `18495.patch` (oops, wrong ticket number in filename)
 supports this as it has a context parameter for age vs. duration.

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


More information about the wp-trac mailing list