File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -112,10 +112,10 @@ format
112
112
113
113
If the ``widget `` option is set to ``single_text ``, this option specifies
114
114
the format of the input, i.e. how Symfony will interpret the given input
115
- as a datetime string. It defaults to the `RFC 3339 `_ format which is used
116
- by the HTML5 ``datetime `` field. Keeping the default value will cause the
117
- field to be rendered as an ``input `` field with ``type="datetime" ``. For
118
- more information on valid formats, see `Date/Time Format Syntax `_.
115
+ as a datetime string. It defaults to the `datetime local `_ format which is
116
+ used by the HTML5 ``datetime-local `` field. Keeping the default value will
117
+ cause the field to be rendered as an ``input `` field with ``type="datetime-local " ``.
118
+ For more information on valid formats, see `Date/Time Format Syntax `_.
119
119
120
120
.. include :: /reference/forms/types/options/hours.rst.inc
121
121
@@ -221,5 +221,5 @@ Field Variables
221
221
| | | contains the input type to use (``datetime ``, ``date `` or ``time ``). |
222
222
+----------+------------+----------------------------------------------------------------------+
223
223
224
- .. _`RFC 3339 ` : https ://tools.ietf.org /html/rfc3339
224
+ .. _`datetime local ` : http ://w3c.github.io /html-reference/datatypes.html#form.data.datetime-local
225
225
.. _`Date/Time Format Syntax` : http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax
You can’t perform that action at this time.
0 commit comments