diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-01-02 20:28:09 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-01-02 20:28:09 +0000 |
commit | 37c6f50bcd75213159fdbf5867fd8ed27c387d92 (patch) | |
tree | 078a864601713dc0e14630cadef060ac4c2aaf5d /modules/system/system.module | |
parent | 9440e26269cefc166b0e1dc6a1f67768624d6d9f (diff) | |
download | brdo-37c6f50bcd75213159fdbf5867fd8ed27c387d92.tar.gz brdo-37c6f50bcd75213159fdbf5867fd8ed27c387d92.tar.bz2 |
- Patch #353019 by agentrickard: remove underscores from time zone display names.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r-- | modules/system/system.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index 00cd10c03..575af94b1 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -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. |