Commit 7ac0584c authored by webchick's avatar webchick

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

parent 18902b2d
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment