Opened 14 years ago
Closed 14 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: | waclawjacek | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.5 |
| Component: | I18N | Version: | 3.4 |
| Severity: | minor | Keywords: | has-patch commit |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks, I had it on my list as well.