From 7ac0584cee99fc46c310e6ec28f001823caeb706 Mon Sep 17 00:00:00 2001 From: webchick Date: Thu, 29 Nov 2012 17:24:04 -0800 Subject: [PATCH] Issue #1854510 by heyrocker: Remove date formatting from system_time_zones(). --- core/modules/system/system.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/system/system.module b/core/modules/system/system.module index e5e13396c21..1492cf01ad3 100644 --- a/core/modules/system/system.module +++ b/core/modules/system/system.module @@ -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.