diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc index 51f0260ee81061a9993f127aaef03efff43073c3..a22e629ea21446ede5f826468f397b7d77b18ab0 100644 --- a/includes/bootstrap.inc +++ b/includes/bootstrap.inc @@ -144,7 +144,7 @@ function drupal_page_header() { ** headers. */ - $headers = explode('\n', $cache->headers); + $headers = explode("\n", $cache->headers); foreach ($headers as $header) { header($header); } diff --git a/includes/common.inc b/includes/common.inc index 8b446811b039cf75c51ff15377242dff5526b501..1d866951f13762d834da1766ce4fc6bef884885a 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -876,7 +876,7 @@ function format_date($timestamp, $type = 'medium', $format = '', $timezone = NUL $max = strlen($format); for ($i = 0; $i <= $max; $c = $format{$i++}) { if (strpos('AaDFlM', $c)) { - $date .= gmdate($c, $timestamp); + $date .= t(gmdate($c, $timestamp)); } else if (strpos('BdgGhHiIjLmnsStTUwWYyz', $c)) { $date .= gmdate($c, $timestamp);