[wp-trac] Re: [WordPress Trac] #1540: Date format returned by
wp_get_archives is not localizable
WordPress Trac
wp-trac at lists.automattic.com
Sun May 21 01:52:16 GMT 2006
#1540: Date format returned by wp_get_archives is not localizable
----------------------+-----------------------------------------------------
Id: 1540 | Status: assigned
Component: Template | Modified: Sun May 21 01:52:16 2006
Severity: normal | Milestone: 2.1
Priority: lowest | Version: 1.5.1.2
Owner: skippy | Reporter: stephenju
----------------------+-----------------------------------------------------
Comment (by drssay):
second option
$text = sprintf(_('%1$s %2$d'), $month[zeroise($arcresult->month,2)],
$arcresult->year);
I think that best solution using smallest edit.
patch attached.
--
Ticket URL: <http://trac.wordpress.org/ticket/1540>
WordPress Trac <http://wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list