@@ -83,7 +83,7 @@ as a series of ``select`` boxes. When the placeholder value is a string,
83
83
it will be used as the **blank value ** of all select boxes::
84
84
85
85
use Symfony\Component\Form\Extension\Core\Type\DateTimeType;
86
-
86
+
87
87
$builder->add('startDateTime', DateTimeType::class, array(
88
88
'placeholder' => 'Select a value',
89
89
));
@@ -92,7 +92,7 @@ Alternatively, you can use an array that configures different placeholder
92
92
values for the year, month, day, hour, minute and second fields::
93
93
94
94
use Symfony\Component\Form\Extension\Core\Type\DateTimeType;
95
-
95
+
96
96
$builder->add('startDateTime', DateTimeType::class, array(
97
97
'placeholder' => array(
98
98
'year' => 'Year', 'month' => 'Month', 'day' => 'Day',
@@ -125,6 +125,7 @@ on your underlying object. Valid values are:
125
125
126
126
* ``string `` (e.g. ``2011-06-05 12:15:00 ``)
127
127
* ``datetime `` (a ``DateTime `` object)
128
+ * ``datetime_immutable `` (a ``DateTimeImmutable `` object)
128
129
* ``array `` (e.g. ``array(2011, 06, 05, 12, 15, 0) ``)
129
130
* ``timestamp `` (e.g. ``1307276100 ``)
130
131
0 commit comments