/**
  * Available options:
  *
  *  * max:                     The maximum date allowed (as a timestamp, DateTime or yyyy-mm format)
  *  * min:                     The minimum date allowed (as a timestamp, DateTime or yyyy-mm format)
  * 
  * @param array $options     An array of options
  * @param array $attributes  An array of default HTML attributes
  *
  * @see sfWidgetForm
  */
 protected function configure($options = array(), $attributes = array())
 {
     parent::configure($options, $attributes);
     $this->setOption('type', 'month');
 }
 /**
  * Configures the current validator.
  *
  * @param array $options   An array of options
  * @param array $messages  An array of error messages
  *
  * @see sfValidatorBase
  */
 public function configure($options = array(), $messages = array())
 {
     parent::configure($options, $messages);
     $this->setOption('date_format', sfWidgetFormInputDate::getRegexp());
     $this->setOption('date_format_error', sfWidgetFormInputDate::getDateFormat());
 }