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:
parent
108f7c1063
commit
acfc3cdf1a
|
@ -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] : '';
|
||||
|
|
Loading…
Reference in New Issue