FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Implement utils.within_delta by justanr · Pull Request #437 · dateutil/dateutil · GitHub

Implement utils.within_delta - #437

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

pganssle merged 2 commits into
dateutil:masterfrom
justanr:within_delta

Conversation

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 merged commit 6ac07d2 into dateutil:master Aug 5, 2017
pganssle mentioned this pull request Mar 11, 2018
pganssle added the utils label Mar 11, 2018
pganssle added this to the 2.7.0 milestone Mar 11, 2018
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL