Index: includes/common.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/common.inc,v retrieving revision 1.683 diff -u -d -F^\s*function -r1.683 common.inc --- includes/common.inc 6 Sep 2007 12:47:20 -0000 1.683 +++ includes/common.inc 10 Sep 2007 15:54:41 -0000 @@ -1139,9 +1139,16 @@ function format_date($timestamp, $type = $date = ''; for ($i = 0; $i < $max; $i++) { $c = $format[$i]; - if (strpos('AaDFlM', $c) !== FALSE) { + if (strpos('AaDlM', $c) !== FALSE) { $date .= t(gmdate($c, $timestamp), array(), $langcode); } + else if ($c == 'F') { + // Special treatment for long month names: May is both an abbreviation + // and a full month name in English, but other languages have + // different abbreviations. + $month = t(gmdate($c, $timestamp) .' ', array(), $langcode); + $date .= str_replace(' ', '', $month); + } else if (strpos('BdgGhHiIjLmnsStTUwWYyz', $c) !== FALSE) { $date .= gmdate($c, $timestamp); }