Issue #1854510 by heyrocker: Remove date formatting from system_time_zones().

8.0.x
webchick 2012-11-29 17:24:04 -08:00
parent 18902b2d9b
commit 7ac0584cee
1 changed files with 1 additions and 1 deletions

View File

@ -3519,7 +3519,7 @@ function system_time_zones($blank = NULL) {
// reasons and should not be used, the list is filtered by a regular
// expression.
if (preg_match('!^((Africa|America|Antarctica|Arctic|Asia|Atlantic|Australia|Europe|Indian|Pacific)/|UTC$)!', $zone)) {
$zones[$zone] = t('@zone: @date', array('@zone' => t(str_replace('_', ' ', $zone)), '@date' => format_date(REQUEST_TIME, 'custom', config('system.date')->get('formats.long.pattern.php') . ' O', $zone)));
$zones[$zone] = t('@zone', array('@zone' => t(str_replace('_', ' ', $zone))));
}
}
// Sort the translated time zones alphabetically.