--- common.inc.orig     2007-12-21 11:38:31.000000000 +0700
+++ common.inc  2007-12-21 11:38:52.000000000 +0700
@@ -1186,7 +1186,14 @@
       // 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) {
+      $y = strftime('%Ey', $timestamp);
+      if ($c == 'y') {
+        $y .= substr($y, -2);
+      }
+      $date .= $y;
+    }
+    else if (strpos('BdgGhHiIjLmnsStTUwWz', $c) !== FALSE) {
       $date .= gmdate($c, $timestamp);
     }
     else if ($c == 'r') {
