Lost with form DateTime again: accepted date format and how to get rid of seconds
===

Again I'm stuck with a form that should render a `datetime`-field in two normal input fields. Actually it works fine like this:

	->add('date_end', 'datetime', array(
			'label' => 'incoming',
			'date_widget' => 'single_text',
			'time_widget' => 'single_text',
			'date_format' => 'dd/MM/yyyy',
			'with_seconds' => false,
			'required' => false,
		) )

But there are two things I want to change/I can't get to work:

### Seconds ###
I want to get rid of the seconds (they should not be displayed) with:

    'with_seconds' => false,

This works fine for `'time_widget' => 'choice|text'`, but not with `single_text`.

The [manual](http://symfony.com/doc/current/reference/forms/types/time.html#widget) states:

> single_text: renders a single input of type text. User's input will be
> validated against the form hh:mm (or hh:mm:ss if using seconds).

### Date format ###

And the second thing is: I want to accept a date that can be: "01/01/2012" but also "1/1/2012". But I want it always to be displayed as "01/01/2102".

How can both things be achieved? Many thanks in advance.
