Skip to content

fix typo and move reference to the appropriate file #3028

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 7, 2013
Merged
Show file tree
Hide file tree
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
2 changes: 0 additions & 2 deletions reference/forms/types/date.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,3 @@ 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
5 changes: 3 additions & 2 deletions reference/forms/types/options/date_format.rst.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ For more information on valid formats, see `Date/Time Format Syntax`_::

.. note::

If you want your field to be rendered as an HTML5 "date" field, you have
If you want your field to be rendered as an HTML5 "date" field, you have to
use a ``single_text`` widget with the ``yyyy-MM-dd`` format (the `RFC 3339`_
format) which is the default value if you use the ``single_text`` widget.

.. _`Date/Time Format Syntax`: http://userguide.icu-project.org/formatparse/datetime#TOC-Date-Time-Format-Syntax
.. _`IntlDateFormatter::MEDIUM`: http://www.php.net/manual/en/class.intldateformatter.php#intl.intldateformatter-constants
.. _`IntlDateFormatter::MEDIUM`: http://www.php.net/manual/en/class.intldateformatter.php#intl.intldateformatter-constants
.. _`RFC 3339`: http://tools.ietf.org/html/rfc3339