Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions reference/forms/types/date.rst
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ Alternatively, you can specify a string to be displayed for the "blank" value::

.. include:: /reference/forms/types/options/date_format.rst.inc

.. note::

If you want your field to be rendered as a HTML5 date field, you have to use
a ``single_text`` widget and the ``yyyy-MM-dd`` format (the `RFC 3339`_ format)
which is the default format if you use the ``single_text`` widget and don't
specify any other format.

.. include:: /reference/forms/types/options/data_timezone.rst.inc

.. include:: /reference/forms/types/options/user_timezone.rst.inc
Expand Down Expand Up @@ -151,3 +158,5 @@ These options inherit from the :doc:`field</reference/forms/types/form>` type:
.. include:: /reference/forms/types/options/virtual.rst.inc

.. include:: /reference/forms/types/options/error_mapping.rst.inc

.. _`RFC 3339`: http://tools.ietf.org/html/rfc3339