[wp-trac] Re: [WordPress Trac] #2568: Translate meridiem in time

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 29 02:11:56 GMT 2006


#2568: Translate meridiem in time
---------------------+------------------------------------------------------
       Id:  2568     |      Status:  new                     
Component:  General  |    Modified:  Wed Mar 29 02:11:56 2006
 Severity:  normal   |   Milestone:  2.1                     
 Priority:  normal   |     Version:  2.0.2                   
    Owner:  ryan     |    Reporter:  Sewar                   
---------------------+------------------------------------------------------
Comment (by ryan):

 We could take it a step further and replace this:

 {{{
 $wp_locale->month[zeroise($arc_month, 2)]
 }}}

 with this:

 {{{
 $wp_locale->get_month($arc_month);
 }}}

 get_month() should handle doing the zeroise and fetching from the month
 array.  Similarly for the rest of the locale data.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2568>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list