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

[Natural Language Processing] Writing "Today" parses the date in the following year #108

Closed
DomizianoScarcelli opened this issue Feb 28, 2023 · 1 comment

Comments

@DomizianoScarcelli
Copy link
Contributor

As the title says, and I think this is my error in adding the feature, if we insert a sentence like:

"Do something today", will parse the date as the same day for the following year. I don't know if this happened before and why I never caught it during development, but I think the particular case of "Today" parsing should avoid the time adjustment.

@DamascenoRafael
Copy link
Owner

DamascenoRafael commented Mar 2, 2023

Hey @DomizianoScarcelli thanks for your feedback.
I made some changes to the feature, trying to keep the same functionality. But I believe I missed something. From my observations this seems to be happening for the word "today" only after 11pm. But anyway it's a bug that needs to be fixed.
I have already found the bug and I will fix it.

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

No branches or pull requests

2 participants