Standardize on UTC. Props Denis-de-Bernardy. fixes #9793

git-svn-id: http://svn.automattic.com/wordpress/trunk@11434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2009-05-22 18:16:40 +00:00
parent 108f7c1063
commit acfc3cdf1a
1 changed files with 2 additions and 0 deletions

View File

@ -3141,6 +3141,8 @@ function wp_timezone_choice($selectedzone) {
$zone = explode('/',$zone);
if ( ! in_array($zone[0], $continents) )
continue;
if ( $zone[0] == 'Etc' && in_array($zone[1], array('UCT', 'GMT', 'GMT0', 'GMT+0', 'GMT-0', 'Greenwich', 'Universal', 'Zulu')) )
continue;
$zonen[$i]['continent'] = isset($zone[0]) ? $zone[0] : '';
$zonen[$i]['city'] = isset($zone[1]) ? $zone[1] : '';
$zonen[$i]['subcity'] = isset($zone[2]) ? $zone[2] : '';