-
Notifications
You must be signed in to change notification settings - Fork 166
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix datetime is not JSON serializable error (#591)
`TypeError: datetime.date(2012, 10, 17) is not JSON serializable` This fixes the above exception raised by json.dumps when the yaml library loads an unquoted date value e.g. `2012-10-17` as a `datetime.time` object.
- Loading branch information
1 parent
4c58c0b
commit d3f3709
Showing
2 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters