Skip to content

Implement utils.within_delta#437

Merged
pganssle merged 2 commits into
dateutil:masterfrom
justanr:within_delta
Aug 5, 2017
Merged

Implement utils.within_delta#437
pganssle merged 2 commits into
dateutil:masterfrom
justanr:within_delta

Conversation

@justanr

@justanr justanr commented Aug 5, 2017

Copy link
Copy Markdown
Contributor

Per the discussion in #431 and #432 this is the (fixed) within_delta from justanr/datestuff. I ended up finding a bug that a negative timedelta would return False, so using abs on it before doing the negative/positive comparison fixes that.

@pganssle
pganssle merged commit 6ac07d2 into dateutil:master Aug 5, 2017
@pganssle pganssle mentioned this pull request Mar 11, 2018
@pganssle pganssle added the utils label Mar 11, 2018
@pganssle pganssle added this to the 2.7.0 milestone Mar 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants