Skip to content

ENH: Json support for datetime.time #5137

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

Merged
merged 1 commit into from
Oct 7, 2013

Conversation

Komnomnomnom
Copy link
Contributor

Adds datetime.time support to JSON serialiser. Note:

  • times are encoded to strings and will be decoded to strings.
  • date_unit and date_format params have no affect on time serialisation, they are always iso formatted.

Fixes #4873

jreback added a commit that referenced this pull request Oct 7, 2013
ENH: Json support for datetime.time
@jreback jreback merged commit dd710b5 into pandas-dev:master Oct 7, 2013
@jreback
Copy link
Contributor

jreback commented Oct 7, 2013

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

pandas.DataFrame.to_json gives OverflowError when attempting to serialize datetime.time objects
2 participants