Make WordPress Core

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#10842 closed defect (bug) (wontfix)

Redundant city name entry for timezone selection

Reported by: hudatoriq Owned by: nbachiyski
Milestone: Priority: low
Severity: normal Version:
Component: I18N Keywords:
Focuses: Cc:


There are two cities inside continents-cities.php file that refer to a single city. 'Ujung Pandang' is the old name of 'Makassar'.

The timezone database used by PHP still consider both Asia/Makassar & Asia/Ujung_Pandang as valid timezone strings. But if we use the city list as an interface, it's better to merge them. Let's only use one of the timezone string.

This page states 'Makassar is also known as Ujung Pandang'

'Ujung Pandang' on wikipedia redirects to 'Makassar'

Attachments (1)

continents-cities.php.diff (469 bytes) - added by hudatoriq 11 years ago.

Download all attachments as: .zip

Change History (5)

#1 @nacin
11 years ago

  • Keywords has-patch added

#2 @nbachiyski
11 years ago

  • Milestone changed from 2.9 to Future Release
  • Priority changed from normal to low

Your patch won't leave out the string. It just will disable its translation.

If you really want to remove the string, you have to patch wp_timezone_choice().

I don't see the point in removing old names of cities. Is it really important? Aren't there any people who know it under its old name?

#3 @Otto42
11 years ago

  • Keywords has-patch removed
  • Milestone Future Release deleted
  • Resolution set to wontfix
  • Status changed from new to closed
  • Version 2.9 deleted

The timezone cities list comes directly from your PHP installation, not WordPress. If you want an up-to-date list, you need to upgrade your PHP installation.

#4 @hakre
11 years ago

The section in the PHP Manual is the Date and Time PHP extension, you find more info in the List of Supported Timezones. It infact is based on PECL timezonedb which is based on the "Olson" database. Please contact your servers administrator for a fix.

Note: See TracTickets for help on using tickets.