Opened 13 years ago
Closed 13 years ago
#21060 closed defect (bug) (fixed)
Duplicate time format suggestions if locale's time format is the same as default time format
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.5 | Priority: | normal |
Severity: | minor | Version: | 3.4 |
Component: | I18N | Keywords: | has-patch commit |
Focuses: | Cc: |
Description
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.
Attachments (2)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Thanks, I had it on my list as well.