diff options
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/common.inc b/includes/common.inc index 2afa0dbee..f1cb4cfc5 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1121,7 +1121,7 @@ function format_date($timestamp, $type = 'medium', $format = '', $timezone = NUL $date .= gmdate($c, $timestamp); } else if ($c == 'r') { - $date .= format_date($timestamp - $timezone, 'custom', 'D, d M Y H:i:s O', $timezone); + $date .= format_date($timestamp - $timezone, 'custom', 'D, d M Y H:i:s O', $timezone, $langcode); } else if ($c == 'O') { $date .= sprintf('%s%02d%02d', ($timezone < 0 ? '-' : '+'), abs($timezone / 3600), abs($timezone % 3600) / 60); @@ -2124,7 +2124,7 @@ function drupal_to_js($var) { /** * Return data in JSON format. - * + * * This function should be used for JavaScript callback functions returning * data in JSON format. It sets the header for JavaScript output. * |