8000 minor #8920 [Form] input=datetime_immutable for DateType, TimeType, D… · symfony/symfony-docs@0665ada · GitHub
[go: up one dir, main page]

Skip to content

Commit 0665ada

Browse files
committed
minor #8920 [Form] input=datetime_immutable for DateType, TimeType, DateTimeType (vudaltsov)
This PR was merged into the master branch. Discussion ---------- [Form] input=datetime_immutable for DateType, TimeType, DateTimeType Related to symfony/symfony#25582. Commits ------- f6bf5f2 Added input=datetime_immutable for DateType, TimeType, DateTimeType.
2 parents 9e0cc4c + f6bf5f2 commit 0665ada

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

reference/forms/types/datetime.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

reference/forms/types/options/date_input.rst.inc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on your underlying object. Valid values are:
88

99
* ``string`` (e.g. ``2011-06-05``)
1010
* ``datetime`` (a ``DateTime`` object)
11+
* ``datetime_immutable`` (a ``DateTimeImmutable`` object)
1112
* ``array`` (e.g. ``array('year' => 2011, 'month' => 06, 'day' => 05)``)
1213
* ``timestamp`` (e.g. ``1307232000``)
1314

reference/forms/types/time.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ on your underlying object. Valid values are:
120120

121121
* ``string`` (e.g. ``12:17:26``)
122122
* ``datetime`` (a ``DateTime`` object)
123+
* ``datetime_immutable`` (a ``DateTimeImmutable`` object)
123124
* ``array`` (e.g. ``array('hour' => 12, 'minute' => 17, 'second' => 26)``)
124125
* ``timestamp`` (e.g. ``1307232000``)
125126

0 commit comments

Comments
 (0)
0