[wp-trac] [WordPress Trac] #21060: Duplicate time format suggestions if locale's time format is the same as default time format

WordPress Trac wp-trac at lists.automattic.com
Sun Jun 24 17:06:30 UTC 2012


#21060: Duplicate time format suggestions if locale's time format is the same as
default time format
--------------------------+-----------------------------
 Reporter:  waclawjacek   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  I18N          |    Version:  3.4
 Severity:  minor         |   Keywords:
--------------------------+-----------------------------
 The default time format is set to “H:i” in the Polish translation, but
 this results in duplicate “H:i” entries on the settings screen (see:
 attachment). Happens in version 3.4 and earlier.

 Andrew Nacin's suggestion on "WP Polyglots":
 > A simple array_unique() should be enough there, on both $time_formats
 and $date_formats.

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


More information about the wp-trac mailing list