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
"100 days ago" not working #79
Comments
any update on this? |
Hello, The issue seems the same whatever time unit is used, i.e.:
The maintainer has probably not so much time to fix this, a merge request is probably welcome. |
This issue seems hard to fix without major modifications. From my current understanding:
Currently the tokenizer extracts From my point of view, this should at least result in an error instead of a bad result. Another way to deal with this would be to systematically interpret plain numbers as periods of time and not as points in time but that would break things like |
Hello As a workaround, you can split the number of days in multiples series of 'in n days' where n is <100. ex: instead of doing: I know it's ugly but it work :) |
@matthewmueller Maybe add a note about this to the documentation? Like your numbers must be <100!!!. This is a very unexpected thing. |
"100 days ago" or (>= 100 days ago) results in 1:00 a.m. today.
"99 days" or (<= 99 days ago) is working correctly.
The text was updated successfully, but these errors were encountered: