Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: datetime.time(22, 0) is not JSON serializable #293

Closed
patrickyan opened this issue Mar 8, 2014 · 2 comments
Closed

TypeError: datetime.time(22, 0) is not JSON serializable #293

patrickyan opened this issue Mar 8, 2014 · 2 comments
Labels

Comments

@patrickyan
Copy link

@patrickyan patrickyan commented Mar 8, 2014

datetime.date and datetime.datetime work fine, but datetime.time doesn't seem to work.

@jfinkels
Copy link
Owner

@jfinkels jfinkels commented Mar 12, 2014

Can you give a specific example of a model for which this error occurs?

Loading

@jfinkels jfinkels added the bug label Mar 12, 2014
@jfinkels jfinkels closed this in a2b536e Mar 13, 2014
@jfinkels
Copy link
Owner

@jfinkels jfinkels commented Mar 13, 2014

I figured out what you were trying to say and fixed it.

Loading

dnordberg added a commit to dnordberg/flask-restless that referenced this issue Mar 21, 2014
dnordberg added a commit to dnordberg/flask-restless that referenced this issue Mar 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants