Index: includes/date_api_argument_handler.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/date/includes/date_api_argument_handler.inc,v
retrieving revision 1.15
diff -u -p -r1.15 date_api_argument_handler.inc
--- includes/date_api_argument_handler.inc	24 Aug 2010 11:43:21 -0000	1.15
+++ includes/date_api_argument_handler.inc	11 Oct 2010 00:16:40 -0000
@@ -105,6 +105,12 @@ class date_api_argument_handler extends 
       '#default_value' => $this->options['date_method'],
       '#description' => t('Method of handling multiple date fields in the same query. Return items that have any matching date field (date = field_1 OR field_2), or only those with matches in all selected date fields (date = field_1 AND field_2). '),
       );
+    $form['date_format'] = array(
+      '#title' => t('Custom format'),
+      '#type' => 'textfield',
+      '#default_value' => '',
+      '#description' => t('Leave blank for default format otherwise enter a <a href="http://php.net/date">PHP date format</a>'),
+    );
     
   }
     
@@ -200,7 +206,12 @@ class date_api_argument_handler extends 
    * Provide a link to the next level of the view from the argument.
    */
   function title() {
-    $format = $this->date_handler->views_formats($this->options['granularity'], 'display');
+    if (empty($this->options['date_format'])) {
+      $format = $this->date_handler->views_formats($this->options['granularity'], 'display');
+    }
+    else {  
+      $format = $this->options['date_format'];
+    }
     $range = $this->date_handler->arg_range($this->argument);
     return date_format_date($range[0], 'custom', $format);
   }
