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 12 Sep 2007 13:15:40 -0000 @@ -1139,9 +1139,15 @@ 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. + $date .= trim(t('@long-month-name '. gmdate($c, $timestamp), array('@long-month-name' => ''), $langcode)); + } else if (strpos('BdgGhHiIjLmnsStTUwWYyz', $c) !== FALSE) { $date .= gmdate($c, $timestamp); }