Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0665ada

Browse filesBrowse 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
Copy full SHA for 0665ada

File tree

3 files changed

+3
-0
lines changed
Filter options

3 files changed

+3
-0
lines changed

‎reference/forms/types/datetime.rst

Copy file name to clipboardExpand all lines: reference/forms/types/datetime.rst
+1Lines 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

Copy file name to clipboardExpand all lines: reference/forms/types/options/date_input.rst.inc
+1Lines 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

Copy file name to clipboardExpand all lines: reference/forms/types/time.rst
+1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.