Skip to content

Commit

Permalink
[4.2.x] Fixed #34431 -- Improved Date/DateTimeField/TimeField.input_f…
Browse files Browse the repository at this point in the history
…ormats docs.

Backport of cbcc124 from main
  • Loading branch information
edisonwang03 authored and felixxm committed Apr 3, 2023
1 parent 837e68a commit 9ef2625
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/ref/forms/fields.txt
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ For each field, we describe the default widget used if you don't specify

.. attribute:: input_formats

A list of formats used to attempt to convert a string to a valid
An iterable of formats used to attempt to convert a string to a valid
``datetime.date`` object.

If no ``input_formats`` argument is provided, the default input formats are
Expand All @@ -490,7 +490,7 @@ For each field, we describe the default widget used if you don't specify

.. attribute:: input_formats

A list of formats used to attempt to convert a string to a valid
An iterable of formats used to attempt to convert a string to a valid
``datetime.datetime`` object, in addition to ISO 8601 formats.

The field always accepts strings in ISO 8601 formatted dates or similar
Expand Down Expand Up @@ -998,7 +998,7 @@ For each field, we describe the default widget used if you don't specify

.. attribute:: input_formats

A list of formats used to attempt to convert a string to a valid
An iterable of formats used to attempt to convert a string to a valid
``datetime.time`` object.

If no ``input_formats`` argument is provided, the default input formats are
Expand Down

0 comments on commit 9ef2625

Please sign in to comment.