symfony/symfony — pull request #4596 by FabienPennequin (2012-06-16 16:36:39+00:00)
Title: [Form] Fix date field when value is not required

Bug fix: yes
Feature addition: no
Backwards compatibility break: yes
Symfony2 tests pass:
License of the code: MIT

With Symfony2.1, the date field doesn't show the empty value when the option "required" is set to false. This PR fixes this issue. Symfony2.0 isn't affected.