You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Negative values can be reasonably supported for the days_after param if you update the error condition to the following:
ifdays_after+days_before<0:
sys.exit('the absolute value of days_after cannot exceed the value of days before')
When the value is negative, and used with days_before, it allows the param to behave like an "until ___ days before today" value.
Due to GitHub repo visibility constraints—you can't make forked public repos private—I didn't want to create a fork and PR myself. I was thinking it might be helpful to offer it up here though. 😃
The text was updated successfully, but these errors were encountered:
--days-after=-600 gives me the error
days_after must not be negative.
This issue persists for both when the days-before is >360 and <360 so this is not a 1 year limit issue.
Negative values can be reasonably supported for the
days_after
param if you update the error condition to the following:When the value is negative, and used with
days_before
, it allows the param to behave like an "until ___ days before today" value.Due to GitHub repo visibility constraints—you can't make forked public repos private—I didn't want to create a fork and PR myself. I was thinking it might be helpful to offer it up here though. 😃
The text was updated successfully, but these errors were encountered: