summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/bootstrap.inc2
-rw-r--r--includes/common.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/includes/bootstrap.inc b/includes/bootstrap.inc
index 51f0260ee..a22e629ea 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 8b446811b..1d866951f 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);