symfony/symfony — Issue #3278: time Field Type with single_text widget displays seconds even if 'with_seconds' is false
Author: florianeckerstorfer
Created: 2012-02-06 12:05:00+00:00
State: open

There seems to be a bug with the `time`field type in combination with `single_text` widget and `with_seconds` `FALSE`.

I use the following code to build the form:

$builder->add('airtime', 'time', array(
'widget' => 'single_text',
'with_seconds' => false,
'input' => 'string',
));

The widget is displayed in `hh:mm:ss` format instead of the expected `hh:mm`format.