Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit0665ada

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, DateTimeTypeRelated tosymfony/symfony#25582.Commits-------f6bf5f2 Added input=datetime_immutable for DateType, TimeType, DateTimeType.
2 parents9e0cc4c +f6bf5f2 commit0665ada

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)

[8]ページ先頭

©2009-2025 Movatter.jp