Skip to content

Instantly share code, notes, and snippets.

@alexander-arce
Created October 11, 2013 03:53
Show Gist options
  • Select an option

  • Save alexander-arce/6929350 to your computer and use it in GitHub Desktop.

Select an option

Save alexander-arce/6929350 to your computer and use it in GitHub Desktop.
Sonata Filters::doctrine_orm_datetime_range
->add('date_from', 'doctrine_orm_datetime_range',array('label'=>'Desde','input_type' => 'string',
'input' => 'string','format' => 'dd/MM//yyyy' ),
'sonata_type_filter_datetime ', array(
'widget' => 'single_text',
'required' => false,
'attr' => array('class' => 'sonata-datepicker'),
'format' => 'dd/MM/yyyy',
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment