Skip to content
Snippets Groups Projects
Commit 37c6f50b authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #353019 by agentrickard: remove underscores from time zone display names.

parent 9440e262
No related branches found
No related tags found
No related merge requests found
......@@ -2156,7 +2156,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($zone), '@date' => format_date(REQUEST_TIME, 'custom', variable_get('date_format_long', 'l, F j, Y - H:i') . ' O', $zone)));
$zones[$zone] = t('@zone: @date', array('@zone' => t(str_replace('_', ' ', $zone)), '@date' => format_date(REQUEST_TIME, 'custom', variable_get('date_format_long', 'l, F j, Y - H:i') . ' O', $zone)));
}
}
// Sort the translated time zones alphabetically.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment