Skip to content

Commit

Permalink
Merge pull request marshmallow-code#1239 from joegasewicz/1223_fix-da…
Browse files Browse the repository at this point in the history
…teformat-docs

Fixes marshmallow-code#1223 dateformat is ignored for DateTime fields when not format…
  • Loading branch information
sloria committed Jun 12, 2019
2 parents 456bacb + e0344c7 commit 72ce49b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/marshmallow/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,9 @@ class Meta:
`OrderedDict`.
- ``exclude``: Tuple or list of fields to exclude in the serialized result.
Nested fields can be represented with dot delimiters.
- ``dateformat``: Date format for all DateTime fields that do not have their
- ``dateformat``: Date format for the Date field that does not have it's
date format explicitly specified.
- ``datetimeformat``: Date format for the DateTime field that does not have it's
date format explicitly specified.
- ``render_module``: Module to use for `loads` and `dumps`. Defaults to
`json` from the standard library.
Expand Down

0 comments on commit 72ce49b

Please sign in to comment.