--- helper/FormHelper.php	2006-06-28 14:05:36.000000000 +0200
+++ helper/myFormHelper.php	2006-06-28 13:56:06.000000000 +0200
@@ -805,6 +805,12 @@ function input_date_tag($name, $value, $
     throw new sfException('input_date_tag (rich=off) is not yet implemented');
   }
 
+  $date_pattern = 'p';
+  if (isset($options['date_pattern'])) {
+    $date_pattern = $options['date_pattern'];
+    unset($options['date_pattern']);
+  }
+
   // parse date
   if (($value === null) || ($value === ''))
   {
@@ -813,7 +819,7 @@ function input_date_tag($name, $value, $
   else
   {
     $dateFormat = new sfDateFormat($culture);
-    $value = $dateFormat->format($value, 'd');
+    $value = $dateFormat->format($value, $date_pattern);
   }
 
   // register our javascripts and stylesheets
