-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
bug in datetime parsing #651
Comments
Hi @pavanAlluri, I have inspected the code and I can confirm that there is
an issue with this function. I will make a pull request with corrections as
soon as I can. In the mean time it is possible that another contributor may
propose a solution.
|
Thank you for looking into this @gunthercox |
Hi @gunthercox and @pavanAlluri, I am new here and I would like to help in this issue. Can you explain me with more details about the expected result when the input is something like "next 3 weeks" ? Can you show a example, please ? I saw a comment inside the function that says "If there is an ordinal (next 3 weeks) => return a start and end range", how is the output format of this start and end range ? |
Hello,
As i use the parsing module for datetime conversion, in the function 'date_from_relative_week_year' the ordinal value that is being passed into the function is not being used.
For example if the text input was next 3 weeks... the output is being of only one week. i believe this is because ordinal is not being used here. I tried to fix it my myself i adding the ordinal value to the relative date, but i am unsuccessful in doing so.
Any help on this issue is appreciated.
The text was updated successfully, but these errors were encountered: