Skip to content
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

Open
pavanAlluri opened this issue Mar 14, 2017 · 3 comments
Open

bug in datetime parsing #651

pavanAlluri opened this issue Mar 14, 2017 · 3 comments

Comments

@pavanAlluri
Copy link

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.

@gunthercox
Copy link
Owner

gunthercox commented Mar 15, 2017 via email

@gunthercox gunthercox added the bug label Mar 15, 2017
@pavanAlluri
Copy link
Author

Thank you for looking into this @gunthercox

@manoelrui
Copy link
Contributor

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants