|
|
@ -181,7 +181,6 @@ function rcmail_user_prefs($current=null)
|
|
|
|
$select_timezone = new html_select(array('name' => '_timezone', 'id' => $field_id));
|
|
|
|
$select_timezone = new html_select(array('name' => '_timezone', 'id' => $field_id));
|
|
|
|
$select_timezone->add(rcube_label('autodetect'), 'auto');
|
|
|
|
$select_timezone->add(rcube_label('autodetect'), 'auto');
|
|
|
|
|
|
|
|
|
|
|
|
$now = new DateTime();
|
|
|
|
|
|
|
|
foreach (DateTimeZone::listIdentifiers() as $i => $tzs) {
|
|
|
|
foreach (DateTimeZone::listIdentifiers() as $i => $tzs) {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
$tz = new DateTimeZone($tzs);
|
|
|
|
$tz = new DateTimeZone($tzs);
|
|
|
|