Skip to content

Commit 2276ec1

Browse files
committed
Minor tweaks
1 parent da5762a commit 2276ec1

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

reference/forms/types/datetime.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,10 +110,14 @@ on your underlying object. Valid values are:
110110
* ``string`` (e.g. ``2011-06-05 12:15:00``)
111111
* ``datetime`` (a ``DateTime`` object)
112112
* ``datetime_immutable`` (a ``DateTimeImmutable`` object)
113-
* ``date_point`` (a ``DatePoint`` object)
113+
* ``date_point`` (a :ref:`DatePoint <clock_date-point>` object)
114114
* ``array`` (e.g. ``[2011, 06, 05, 12, 15, 0]``)
115115
* ``timestamp`` (e.g. ``1307276100``)
116116

117+
.. versionadded:: 7.4
118+
119+
Support for ``date_point`` values was introduced in Symfony 7.4.
120+
117121
The value that comes back from the form will also be normalized back into
118122
this format.
119123

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

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ on your underlying object. Valid values are:
99
* ``string`` (e.g. ``2011-06-05``)
1010
* ``datetime`` (a ``DateTime`` object)
1111
* ``datetime_immutable`` (a ``DateTimeImmutable`` object)
12-
* ``date_point`` (a ``DatePoint`` object)
12+
* ``date_point`` (a :ref:`DatePoint <clock_date-point>` object)
1313
* ``array`` (e.g. ``['year' => 2011, 'month' => 06, 'day' => 05]``)
1414
* ``timestamp`` (e.g. ``1307232000``)
1515

16+
.. versionadded:: 7.4
17+
18+
Support for ``date_point`` values was introduced in Symfony 7.4.
19+
1620
The value that comes back from the form will also be normalized back into
1721
this format.
1822

reference/forms/types/time.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,14 @@ on your underlying object. Valid values are:
9999
* ``string`` (e.g. ``12:17:26``)
100100
* ``datetime`` (a ``DateTime`` object)
101101
* ``datetime_immutable`` (a ``DateTimeImmutable`` object)
102-
* ``date_point`` (a ``DatePoint`` object)
102+
* ``date_point`` (a :ref:`DatePoint <clock_date-point>` object)
103103
* ``array`` (e.g. ``['hour' => 12, 'minute' => 17, 'second' => 26]``)
104104
* ``timestamp`` (e.g. ``1307232000``)
105105

106+
.. versionadded:: 7.4
107+
108+
Support for ``date_point`` values was introduced in Symfony 7.4.
109+
106110
The value that comes back from the form will also be normalized back into
107111
this format.
108112

0 commit comments

Comments
 (0)