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

Please add support for diffing datetime.timedelta objects #81

Closed
jtroup opened this issue Aug 6, 2017 · 1 comment
Closed

Please add support for diffing datetime.timedelta objects #81

jtroup opened this issue Aug 6, 2017 · 1 comment
Assignees

Comments

@jtroup
Copy link

jtroup commented Aug 6, 2017

>>> import datetime
>>> import deepdiff
>>> deepdiff.DeepDiff(0, 0)
{}
>>> deepdiff.DeepDiff(datetime.date(2017,5,1), datetime.date(2017,5,1))
{}
>>> deepdiff.DeepDiff(datetime.timedelta(0), datetime.timedelta(0))
{'unprocessed': ['root: 0:00:00 and 0:00:00']}
>>> deepdiff.DeepDiff(datetime.timedelta(0), datetime.timedelta(1))
{'unprocessed': ['root: 0:00:00 and 1 day, 0:00:00']}
>>> 

@seperman seperman self-assigned this Nov 2, 2017
@seperman seperman added this to the V3.5 milestone Nov 2, 2017
@seperman
Copy link
Owner

seperman commented Nov 2, 2017

This issue has been resolved in #90 thanks to @mthaddon
The PR has been merged to dev branch an will be released to master very soon.

@seperman seperman closed this as completed Nov 2, 2017
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

No branches or pull requests

2 participants