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

Comments

Projects
None yet
2 participants
@patrickyan

patrickyan commented Mar 8, 2014

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

@jfinkels

This comment has been minimized.

Owner

jfinkels commented Mar 12, 2014

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

@jfinkels jfinkels added the bug label Mar 12, 2014

@jfinkels jfinkels closed this in a2b536e Mar 13, 2014

@jfinkels

This comment has been minimized.

Owner

jfinkels commented Mar 13, 2014

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

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