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

WordPress Trac wp-trac at lists.automattic.com
Fri Mar 6 12:28:11 GMT 2009


#9272: Expand human_time_diff()'s abilities
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |       Owner:  Viper007Bond           
     Type:  enhancement   |      Status:  new                    
 Priority:  normal        |   Milestone:  Future Release         
Component:  General       |     Version:  2.8                    
 Severity:  normal        |    Keywords:  has-patch needs-testing
--------------------------+-------------------------------------------------
Changes (by Viper007Bond):

  * keywords:  needs-patch => has-patch needs-testing
  * version:  => 2.8
  * milestone:  Unassigned => Future Release


Comment:

 Alright, there's a first pass at a patch. I've tested it and it seems to
 work well while retaining backwards compatibility (i.e. it should appear
 identical for existing usages).

 However someone with translator knowledge, RTL specifically, needs to take
 a look at it. The part I'm not sure about is the joining of units as it
 goes "X years, X months, X days, etc.". The comma is translatable, but the
 order isn't. Does it need to be? I assume so. :/

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


More information about the wp-trac mailing list