Index: includes/common.inc
===================================================================
RCS file: /cvs/drupal/drupal/includes/common.inc,v
retrieving revision 1.744
diff -u -r1.744 common.inc
--- includes/common.inc	20 Dec 2007 23:14:11 -0000	1.744
+++ includes/common.inc	21 Dec 2007 18:39:27 -0000
@@ -1186,7 +1186,10 @@
       // different abbreviations.
       $date .= trim(t('!long-month-name '. gmdate($c, $timestamp), array('!long-month-name' => ''), $langcode));
     }
-    else if (strpos('BdgGhHiIjLmnsStTUwWYyz', $c) !== FALSE) {
+    else if (strpos('yY', $c) !== FALSE) {
+      $date .= strftime("%$c", $timestamp);
+    }
+    else if (strpos('BdgGhHiIjLmnsStTUwWz', $c) !== FALSE) {
       $date .= gmdate($c, $timestamp);
     }
     else if ($c == 'r') {
