File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -114,6 +114,13 @@ Alternatively, you can specify a string to be displayed for the "blank" value::
114
114
115
115
.. include :: /reference/forms/types/options/date_format.rst.inc
116
116
117
+ .. note ::
118
+
119
+ If you want your field to be rendered as a HTML5 date field, you have to use
120
+ a ``single_text `` widget and the ``yyyy-MM-dd `` format (the `RFC 3339 `_ format)
121
+ which is the default format if you use the ``single_text `` widget and don't
122
+ specify any other format.
123
+
117
124
.. include :: /reference/forms/types/options/data_timezone.rst.inc
118
125
119
126
.. include :: /reference/forms/types/options/user_timezone.rst.inc
@@ -151,3 +158,5 @@ These options inherit from the :doc:`field</reference/forms/types/form>` type:
151
158
.. include :: /reference/forms/types/options/virtual.rst.inc
152
159
153
160
.. include :: /reference/forms/types/options/error_mapping.rst.inc
161
+
162
+ .. _`RFC 3339` : http://tools.ietf.org/html/rfc3339
You can’t perform that action at this time.
0 commit comments