| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Because a small delta can be represented as timedelta(days=-1, seconds=86399, microseconds=999999), so we should assume all components have the same sign
Codecov ReportAll modified and coverable lines are covered by tests ✅ Additional details and impacted files @@ Coverage Diff @@
## main #173 +/- ##
=======================================
Coverage 99.19% 99.19%
=======================================
Files 9 9
Lines 746 747 +1
=======================================
+ Hits 740 741 +1
Misses 6 6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #18.
Fixes #171.
The Python docs say:
However, we assumed all components have the same sign, and used absolute values of some of those, leading to inconsistent behaviour (on Linux and macOS; it still worked on Windows).
Instead, we should convert the whole timedelta into its absolute value, and then use its components directly.
Also test all the timedeltas with positive and negative values.