--- common.inc.orig	2007-12-22 12:45:55.000000000 +0700
+++ common.inc	2007-12-22 12:46:10.000000000 +0700
@@ -1186,6 +1186,13 @@
       // different abbreviations.
       $date .= trim(t('!long-month-name '. gmdate($c, $timestamp), array('!long-month-name' => ''), $langcode));
     }
+    else if (strpos('Xx', $c) !== FALSE) {
+      $y = strftime('%Ey', $timestamp);
+      if ($c == 'x') {
+        $y .= substr($y, -2);
+      }
+      $date .= $y;
+    }
     else if (strpos('BdgGhHiIjLmnsStTUwWYyz', $c) !== FALSE) {
       $date .= gmdate($c, $timestamp);
     }
