Skip to content

Commit c8be770

Browse files
committed
Merge pull request #2400 from xabbuh/fix-pattern-option-in-datetype-docs
remove the pattern option in DateType
2 parents a54cdc8 + 620239f commit c8be770

File tree

3 files changed

+1
-18
lines changed

3 files changed

+1
-18
lines changed

reference/forms/types/date.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ day, and year) or three select boxes (see the `widget_` option).
2626
| | - `months`_ |
2727
| | - `days`_ |
2828
| | - `format`_ |
29-
| | - `pattern`_ |
3029
| | - `data_timezone`_ |
3130
| | - `user_timezone`_ |
3231
+----------------------+-----------------------------------------------------------------------------+
@@ -107,8 +106,6 @@ Alternatively, you can specify a string to be displayed for the "blank" value::
107106

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

110-
.. include:: /reference/forms/types/options/date_pattern.rst.inc
111-
112109
.. include:: /reference/forms/types/options/data_timezone.rst.inc
113110

114111
.. include:: /reference/forms/types/options/user_timezone.rst.inc

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

Lines changed: 0 additions & 14 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ widget
66
The basic way in which this field should be rendered. Can be one of the following:
77

88
* ``choice``: renders three select inputs. The order of the selects is defined
9-
in the `pattern`_ option.
9+
in the `format`_ option.
1010

1111
* ``text``: renders a three field input of type text (month, day, year).
1212

0 commit comments

Comments
 (0)