Skip to content

Commit 67d9217

Browse files
committed
Merge pull request #3028 from xabbuh/date-format-fixes
fix typo and move reference to the appropriate file
2 parents 23a89bb + f3e5cff commit 67d9217

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

reference/forms/types/date.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,5 +151,3 @@ These options inherit from the :doc:`field </reference/forms/types/form>` type:
151151
.. include:: /reference/forms/types/options/virtual.rst.inc
152152

153153
.. include:: /reference/forms/types/options/error_mapping.rst.inc
154-
155-
.. _`RFC 3339`: http://tools.ietf.org/html/rfc3339

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ For more information on valid formats, see `Date/Time Format Syntax`_::
2020

2121
.. note::
2222

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

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

0 commit comments

Comments
 (0)