@@ -83,7 +83,7 @@ as a series of ``select`` boxes. When the placeholder value is a string,
8383it will be used as the **blank value ** of all select boxes::
8484
8585 use Symfony\Component\Form\Extension\Core\Type\DateTimeType;
86-
86+
8787 $builder->add('startDateTime', DateTimeType::class, array(
8888 'placeholder' => 'Select a value',
8989 ));
@@ -92,7 +92,7 @@ Alternatively, you can use an array that configures different placeholder
9292values for the year, month, day, hour, minute and second fields::
9393
9494 use Symfony\Component\Form\Extension\Core\Type\DateTimeType;
95-
95+
9696 $builder->add('startDateTime', DateTimeType::class, array(
9797 'placeholder' => array(
9898 'year' => 'Year', 'month' => 'Month', 'day' => 'Day',
@@ -125,6 +125,7 @@ on your underlying object. Valid values are:
125125
126126* ``string `` (e.g. ``2011-06-05 12:15:00 ``)
127127* ``datetime `` (a ``DateTime `` object)
128+ * ``datetime_immutable `` (a ``DateTimeImmutable `` object)
128129* ``array `` (e.g. ``array(2011, 06, 05, 12, 15, 0) ``)
129130* ``timestamp `` (e.g. ``1307276100 ``)
130131
0 commit comments